Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-16-2003, 01:14 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Unhappy weapons and events

for some reason when I use a weapon that uses events offline, it wont work when I go into the editor and load a level without the weapon (to re-add it to the weapons).

NPC Code:

// NPC made by Chad (VIP)
if (created&&!isweapon) {
toweapons testweapon;
destroy;
}
if (keypressed) {
setplayerprop #c,Key!!;
}


put that into a level, load it, then go into the editor and load a different level, now it doesn't work!? They'll start working again if they are called with weaponfired, but this is really annoying and not all my weapons can be called that way...
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
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 01:02 PM.


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