learn_action
Function used in mission creation.
Action used to give action bricks to players.
Properties
name: Action name, only used by the mission designer.
actions: Action brick codes
group (Boolean): Allows to give actions to the whole group at the same time.
npc_name (Optional): Tag name of the giver NPC.
Default variables
npc_name (bot): $b$
For action number X
Variable name | Formal expression | Example |
---|---|---|
actions (brick) | $brick<X>$ | $brick1$ |