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-07-2002, 12:53 PM
BlKnight BlKnight is offline
Not in Use
Join Date: Mar 2001
Location: N/A
Posts: 1,527
BlKnight is on a distinguished road
Re: Weapon select

Quote:
Originally posted by kaddar
Is there a command to select weapon (index) but not run any scripts in it, only select it for you weapon usage?


What do you mean? You could have a variable set on the selected weapon...or have a thing go like this:

for (this.i=0;this.i<weaponscount-1;this.i++) {
if (strequals(#w(this.i),<WEAPON YOU ARE LOOK FOR HERE>)) {
this.selectedweapon=this.i;
}
}

Then you just use callweapon and for the index in call weapon use this.selectedweapon.
__________________
This account is no longer is use.

Last edited by BlKnight; 01-07-2002 at 01:34 PM..
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 09:41 AM.


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