0
Answered

Bundling actions in to one

Oliver Marshall 2 months ago in Game Creator updated by Marti (Lead Developer) 2 months ago 2

Hi

Is it possible to bundle actions in to one? I have a set of about 5 actions that I run each time the player does something that activates a new quest. Rather than keep creating the same thing, I'd like to call the Action "Start Quest" and just have it run through them all.

Alternatively, am I able to initiate actions via c# script? That way I could call my custom script, and have it call each action in turn. 

Olly

Unity version:
Game Creator version:

Answer

Answer

You could do it with a custom Action that you will need to code 

https://docs.gamecreator.io/game-creator/systems/game-creator-api/custom-actions

You could model it on the exist Action called Execute Actions. This action executes a list of actions, but you will probably need to build the actions somewhere in your scene regardless, so you may as just use Execute Actions. 

Hopes this helps you.

Answer

You could do it with a custom Action that you will need to code 

https://docs.gamecreator.io/game-creator/systems/game-creator-api/custom-actions

You could model it on the exist Action called Execute Actions. This action executes a list of actions, but you will probably need to build the actions somewhere in your scene regardless, so you may as just use Execute Actions. 

Hopes this helps you.