How to make a cannon only spawn 1 actor per scene
I am currently building and app with a cannon that shoots actors at another actor. the problem that i am having is i only want the cannon to shoot 1 actor (bullet) and after it is shot if you dont kill the main actor i want it to be game over. One shot one kill type idea.
Thanks for your help in advanced
Thanks for your help in advanced
Best Answer
-
whycali Posts: 87
@gyroscope
My bad i miss read a part that you had written. I just wanted to let you know that it worked perfectly and thank you for your time on a Saturday to answer my question.
Answers
Hi @whycali
That straightforward enough: make a scene boolean attribute and called it ShotDone.
So in your existing cannon rules for firing the shot, add a Rule:
When ShotDone is false
---then your firing shot rules
change attribute ShotDone to true
-------------
I'm sure you know that games need to have - ideally - that "can't put it down" factor; I'm wondering how many users of your final game will have the patience to keep going, when the complete game is over if the shot misses.... just a thought worth thinking about...
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Thanks for all your help
Oh and i know what you mean with the "cant put it down" Factor. Oh trust me when this is completed it will have just that haha. Thanks again.
Bottom Line. Don't reject things unless they are spam or absolutely completely 100% worthless to your thread.