The Exiled
http://theexiled.pwnageservers.com/forum/

Making something Invincible
http://theexiled.pwnageservers.com/forum/viewtopic.php?f=7&t=3
Page 1 of 1

Author:  TE-Krogoth [ Tue Jun 07, 2005 7:11 pm ]
Post subject:  Making something Invincible

Here's an example:

Code:
      instant StaticShape AntennaArray1 {
         dataBlock = "ArrayAntenna";
            name = "Invulnerability";
         position = "-346.094 -205.048 -309.193";
         rotation = "0 0 0";
         destroyable = "False";
         deleteOnDestroy = "False";
      };

Code:
function Invulnerability::ondamage(%this)
{
   // no damage
}


You can change Invulernability to whatever you want just be sure you keep it consistent throughout. Where it says function Invulverability, you need to put Invulernability in the quotes in name. Just look at the example and you will understand. If not just ask.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/