Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Triggeraction Inventory Problem (https://forums.graalonline.com/forums/showthread.php?t=19603)

slayerhazepk 12-25-2001 08:06 PM

Triggeraction Inventory Problem
 
Triggeraction doesn't work on wepons offline, does it still work online?

TDO2000 12-25-2001 08:13 PM

um it works offline if u trigger an NPC u don't have to trigger at the x and y of it... u have to get nearly the middle of the NPC then it should work

the same for the player if u want to trigger the player u need to add a little bit to the x and y

for example:

player has code in weapon

if(actionkick){
setplayerprop #c,ouch;
}


NPC:
if(playerenters){
triggeraction playerx+1.5,playery+2,kick,;
}

should work


All times are GMT +2. The time now is 04:01 AM.

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