0
Answered

Export Triggers + Conditions + Actions to code?

Niels Henriksen 4 weeks ago in Game Creator updated by Marti (Lead Developer) 2 weeks ago 3

Are there a way to export Triggers + Conditions + Actions to code? Or how are they stored in the system?

Unity version:
2019
Game Creator version:
latest
GOOD, I'M SATISFIED

Sounds like a solution :)

Satisfaction mark by Niels Henriksen 2 weeks ago
Under review

Triggers, Conditions and Actions are made of "code", not sure I understand the question. Where do you want to export them?

I have been a programmer for 22 years and sometimes I feel better by using code. So if it is possible to combine the types so one team member can use the Unity interface and other can use code to do excately the same.

Answered

I think this would make the project quite messy rather quickly. However, if you are a programmer and the other companion is more of a designer, you can create custom Actions so he/she can use them using the visual scripting tool.

Take a look at the documentation on how to do so: https://docs.gamecreator.io/game-creator/systems/game-creator-api/custom-actions