Changing bullet type, setup not working for me at all.
I have 3 game level Booleans
Fire setup 1
Fire setup 2
Fire setup 3
Now in my "Plane" actor I have 3 setups...
When touch pressed and fire setup 1 is true...spawn "bullet" actor X=0 Y=0
When touch pressed and fire setup 2 is true...spawn "bullet" actor X=20 Y=0 AND When touch pressed and fire setup 1 is true...spawn "bullet" actor X=-20 Y=0
When touch pressed and fire setup 3 is true...spawn "bullet" actor X=40 Y=0 AND When touch pressed and fire setup 1 is true...spawn "bullet" actor X=-40 Y=0
In my "Plane" actor...which is always present on scene....I have a timer setup...it goes like this...
For 20 seconds change attribute "Fire setup 1 to "true"
After 30 seconds change attribute "Fire setup 2 to "true"
After 40 seconds change attribute "Fire setup 3 to "true"
This should increasingly add my bullet my Plane fires. First center...then center with 2 more offset from center and then center, offset from center and 2 more offset from even those...giving me a total of 5 bullets.
At any one time....ONLY fire setup 2 will work for some reason. Not 1 or 3...only 2....I've tried doing 1 to true with the others false...the. 2 true and the others false and so on...I just CANT seem to get any type of sequence of booleans to work...I can even turn off the timer....turn on ALL setups without even the Boolean attribute entered...many different ways....fire setup 2 is the only one that will work. So then I deleted fire setup up 2,3 so only 1 should be active...touched and fire....it won't fire. I'm not at Mac so I can't make a video or post screenshots but GEEZ ! Can't figure this "simple" thing out.
Anyone out there ?
Comments
What about this:
When touch pressed
Oh that's a method I haven't tried. I will thanks
I'll let you know how it works.
Complete Guide to iOS Publishing {} Complete Guide to Mac Publishing