Jump to content
Aveyond Studios Community
Sign in to follow this  
Ant

Add or edit an action in a hero object

Recommended Posts

What is an action?

An state in a hero object can have events. Each event can have actions. Actions determine how a hero object acts. When an event is executed, the actions in the event are played in a sequence. Actions are the core of HeroKit.

Add an action:

Spoiler

Open the hero object you want to edit in the HeroKit Editor. Expand States > [state you want to edit] > [event you want to edit]. Click [+Action]. A new action is added. There are a few way to assign action objects to an action. Please see the examples below.

Add action from asset menu:

Spoiler

TH0Xuy9.gif

Add action with drag and drop:

Spoiler

KJ6AbDt.gif

Add action above another action:

Spoiler

This adds a new action between Move Random and Wait.

LYtOTVJ.png

Add action below another action.

Spoiler

This adds a new action between Wait and Jump.

sC3ElkP.png

Give an action a name:

Spoiler

CFcGPik.gif

Move an action down in an event:

Spoiler

In the hero object, select the action to move. Right-click and select Move Action Down.

This switches Wait with Move Random.

iIHE9gs.png

Move an action up in an event:

Spoiler

In the hero object, select the action to move. Right-click and select Move Action Up.

This switches Wait with Jump.

CpgXGM0.png

Disable an action in an event:

Spoiler

In the hero object, select the action to disable. Right-click and select Disable. The action is grayed out and will be skipped when the event is run.

490pKog.png

Enable a disabled action in an event:

Spoiler

In the hero object, select the action to enable. Right-click and select Enable. The action is no longer grayed out and will not be skipped when the event is run.

PxCWzqg.png

Copy an action in an event:

Spoiler

In the hero object, select the action to copy. Right-click and select Copy. The action is saved and a copy of it can be pasted somewhere else.

B9uIHwJ.png

Paste an action in an event:

Spoiler

Copy the action you want to paste. Open the hero object where you want to paste the action. Select an action. Right-click and select Paste Action Above, Paste Action Below, or Paste Action Here. The action you copied earlier is pasted.

Paste an action above another action:

Spoiler

This adds the action you pasted between Move Random and Wait.

Thv1cC1.png

Paste an action below another action:

Spoiler

This adds the action you pasted between Wait and Jump.

i5mVCvq.png

Paste an action over another action:

Spoiler

This replaces Wait with the action you copied.

4ip0hF9.png

Delete an action in an event:

Spoiler

Open the hero object that contains the action you want to delete. Select the action. Right-click and select Delete Action.

TRAjpWa.png

Restore the last deleted action in an event:

Spoiler

Open the hero object that contains the action you deleted. Select any action. Right-click and select Restore Last Deleted Action.

When you restore a deleted action, it is re-inserted in the slot where it was deleted. In this example, we deleted Wait, which was in slot 1. When it is re-added, it appears between Move Random and Jump.

ds5qaKj.png

 

Share this post


Link to post
Share on other sites
Sign in to follow this  

×