Emulate Unity script Inside Blueprint class

… no offense, but please take your time phrasing a question properly, to save everyone time and avoid misunderstandings

Please consult this for a proper intro: [Official Blueprint quick start guide][1]


This solves your problems at hand, but does not get you much further:

  1. Creating a Blueprint-Class:

http://api.unrealengine.com/images/Engine/Blueprints/UserGuide/Types/ClassBlueprint/Creation/CreateBP_mainFlow.jpg

  1. When you open your newly created Blueprint-Class you see this without the yellow markings:

https://docs.unrealengine.com/portals/0/images/Engine/Blueprints/Editor/UIBreakdowns/ClassBPUI/ClassBlueprint.png

Navigate to the area number 4. In the drop-down called ‘Functions’, theres a small ‘+’ on the right side, click it. The new tab that opens is where you can create your function

  1. No idea what you want to do there. I assume you want to know something like this: An Actor roughly equals a GameObject in Unity, as you can spawn and place it inside the world. A Pawn is an actor (derives from actor) that can be controlled by a player. A character is a Pawn with specialized functions for humanoid Pawns. ActorComponents can be attached to Actors/Pawns/Character (and all classes derviced from Actor), but are NOT self-sufficient, as you cannot spawn or place them in the world directly.

  2. ‘green color " // …do something… "’ is called a comment, you can create one inside the editor window by selecting a node or group of nodes and pressing ‘c’. Comments are not executed in the program and only serve for explanation purposes or todo-markings for developers. Events on the other hand are functions that have no return value. E.g. ‘void SetColor(Color NewColor);’