Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-15-2002, 08:56 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Call Weapon...

Callweapon use. No idea how to use, please explain...Grim Squeaker, I know oyu had that old weapons changer script, could you post it? I never learned how to use callweapon and I need to...
__________________
This account is no longer is use.
Reply With Quote
  #2  
Old 01-15-2002, 10:51 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
change a weapon do something like
NPC Code:

//find and make current weapon
if (!strequals(#w,*Net)&&weaponsenabled) {
for (this.i=0;this.i<weaponscount;this.i++) {
if (strequals(#w(this.i),*Net)) { selectedweapon=this.i; this.i=weaponscount+1; }
}
}



callweapon is like callnpc

make a weapon that has like
NPC Code:

if (killplayer) { playerhearts=0; }



then make a thing that calls it

NPC Code:

if (playertouchsme) {
for (this.i=0;this.i<weaponscount;this.i++) {
callweapon this.i,killplayer;
}
}

__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #3  
Old 01-15-2002, 11:04 AM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
K thanx, never need to use it, so I didn't know
__________________
This account is no longer is use.
Reply With Quote
Reply


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 07:07 PM.


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