The Exiled

Shunned by Man, Accepted by Gods
* FAQ    * Search   * Members
* Login   * Register
It is currently Thu Mar 28, 2024 1:35 pm 

 View unanswered posts | View active topics


 Board index » General Area » Mapping
Post new topic Reply to topic Users browsing this forum: No registered users and 1 guest
Author
Message
TE-Krogoth


User avatar
Joined: Tue Jun 07, 2005 8:01 am
Posts: 2092
Location: Texas
Post Posted: Tue Jun 07, 2005 7:11 pm    Post subject: Making something Invincible
Reply with quote
 
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.



Image
Image
 Top Offline
Profile WWWYIM
Display posts from previous:  Sort by  
Post new topic Reply to topic Board index » General Area » Mapping
Previous topic :: Next topic  
Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group