im trying to make a command that will say if a shotgun is already spawned, dont spawn another one.
i guess i would do that with compare variable? shotgun.count = 1, but after that im not sure how to do it :(
thanks everyone
http://dl.dropbox.com/u/58024177/shooter2.capx
Develop games in your browser. Powerful, performant & highly capable.
Create a boolean instancevariable in the object Shotgun with the defaul state of false - maybe you want to call it "spawned". Then after the "first" spawn set it to TRUE. Befor you spawn another one, check the variable and only spawn again if false....
ok i will try that ty
I answered here.