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 08-03-2001, 03:33 AM
Death_Sythe Death_Sythe is offline
Registered User
Join Date: Aug 2001
Location: PA:USA
Posts: 81
Death_Sythe is on a distinguished road
Bomy Weapons

Ok I see alot of people asking how to amke bomy weapons, well Stefan didnt put the code in the scripting text yet, it is a hidden script instead of having weaponfired just put bomyweaponfired here is a example, the is the Bow Script for bomys
if (bomyweaponfired && playerdarts>0) {
freezeplayer 0.3;
setani shoot,wbow1.gif;
timeout = 0.25;
}
if (timeout) {
shootarrow playerdir;
playerdarts = playerdarts-1;
}
__________________
Trunks
Manatra2001 Owner
GP Asst. Chief on Sanstrata
Reply With Quote
  #2  
Old 08-03-2001, 03:44 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Bomyweaponfired and Bomyweaponfiredw aren't hidden commands. Inside the bomy code, this is what they do:
NPC Code:

if (swimming) {
callweapon selectedweapon,bomyweaponfiredw;
} else {
callweapon selectedweapon,bomyweaponfired;
}


callweapon is very usefull if you have a script that calls the command 'disabledefmovement', because 'weaponfired' doesn't work when 'disabledefmovement' has been called.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #3  
Old 08-03-2001, 03:49 AM
Death_Sythe Death_Sythe is offline
Registered User
Join Date: Aug 2001
Location: PA:USA
Posts: 81
Death_Sythe is on a distinguished road
never understanded that command

I never really understanded that script, never understood the fucntion command that well either...
__________________
Trunks
Manatra2001 Owner
GP Asst. Chief on Sanstrata
Reply With Quote
  #4  
Old 08-03-2001, 04:40 AM
General General is offline
Banned
Join Date: Apr 2001
Location: Station Square
Posts: 984
General is on a distinguished road
Send a message via ICQ to General Send a message via AIM to General Send a message via Yahoo to General
for some reason, whenever i script a race, the callweapon part never quite works right
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 08:48 PM.


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