spawning help please?
blastfactor
Member Posts: 72
k, i have it so that whenever i shoot a ball and it hits a wall, it destroys and goes back into the (gun)
everything is working, but it doesnt spawn again... this is what im doing:
(in the ball actor)
[RULE]
-Overlaps or Collides with enemies
-change attribute self.CreateBall to true
-destroy actor
[RULE]
-when Attribute self.Createball = true
-Spawn Actor
-Ball
-direction 0
-position 1 Relative to Scene
-position 10 Relative to Scene
-layer order: front of layer
-Change attribute self.CreateBall to false
everything is working, but it doesnt spawn again... this is what im doing:
(in the ball actor)
[RULE]
-Overlaps or Collides with enemies
-change attribute self.CreateBall to true
-destroy actor
[RULE]
-when Attribute self.Createball = true
-Spawn Actor
-Ball
-direction 0
-position 1 Relative to Scene
-position 10 Relative to Scene
-layer order: front of layer
-Change attribute self.CreateBall to false
Comments
after0.5 sec change attribute to false
take a look at all the demos in the demos sticky, http://gamesalad.com/forums/topic.php?id=11558 there is a lot of information that can help you if you open the projects and see how people did it.
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
download it, rename it to .zip and open it
http://gamesalad.com/game/1643
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left