View Single Post
  #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