Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Weapon deletion (https://forums.graalonline.com/forums/showthread.php?t=454)

Psyker 03-23-2001 08:19 AM

How do you script an "if (playerenters)" NPC to automatically detect and delete a specific weapon?

Brady2 03-23-2001 08:39 AM

NPC Code:
if (playerenters) {toweapons weaponname;timeout=.05}
if (timeout && isweapon) {delete}


Psyker 03-23-2001 09:32 AM

Thanks, Brady!

Tyhm 03-23-2001 11:28 AM

I'd take out the timeout...it breaks online, and works fine without.


All times are GMT +2. The time now is 12:25 AM.

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