Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-28-2001, 09:21 AM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
Bread Help

ok, i have this script, and i wanna make it so you can have more than one, and im getting new at this whole npc scripting with stuff like this.wahtever and stuff, can some one help me with this, i tried it but it doesn't work

NPC Code:

// NPC made by Urónd the Paladin
if (playertouchsme) {
toweapons Bread;
this.Bcount = +1;
}
if (isweapon && Bcount<1) {
destroy;
}
if (weaponfired && this.Bcount>1) {
playerhearts+=2;
this.Breadcount = -1;
}

Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.