Game Development Community

Automatic fire

by Ironbelly Studios · in General Discussion · 09/03/2008 (7:09 am) · 1 replies

Can i hit projectile automatically without any trigerrs.Suppose player has grenade on his hand.If player will not throw upto 5 sec. the grenade will blast automatically and this will damage so.

#1
09/03/2008 (4:58 pm)
You could set a Schedule() for an explosion effect in 5 seconds once the player pulls the pin, or however the grenade gets into his hand in your game. And once the grenade's throw delete the schedule to prevent it from killing them.