Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: granade explosion effect

  1. #11
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by Ni3ls View Post
    How to delete the nade and the explosion Tally?
    It takes roughly 2.8 seconds for a grenade to explode once the grenade has stopped moving. Simply delete the grenade before the time is up:

    PHP Code:
    getGrenadeOrigin()
    {
        
    // delay finding the grenade's origin until it lands
        
    self waitTillNotMoving()
        
        
    // this is the origin you want - do what you want with it from here
        
    origin self.origin;

    wait1.8 );

    if( 
    isDefinedself ) ) self delete();


  2. The Following User Says Thank You to Tally For This Useful Post:

    Ni3ls (3rd November 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •