I don’t understand where to put the setActionFor in the code, would it be before or after the game events?
1 Like
No one wants to help you…
But I’ll help you!
For example, you have got wizard function and it named wizardSpawn
.
And after your program you are writing:
game.setActionFor("wizard", "spawn", wizardSpawn);
So you write type, “spawn” and name your function.
And I think it is after game events (I wrote them after)
Hope it helps!
3 Likes
thank you, sorry for the late reply
1 Like
No problem! I’m glad I could help!
3 Likes
This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.