Graal Forums

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

nyghtGT 11-15-2001 12:22 PM

trggeraction
 
for the x and y in the triggeraction you put where the NPC Action you want to take place at correct ?

BocoC 11-15-2001 02:11 PM

The X and Y stand for where the action will be triggered.

PresShinP2P 11-15-2001 10:52 PM

I recently encountered a problem when trying to use triggeraction on a 'putnpc' script
When i fired the weapon(yes, it was triggering the action at the coordinates of the NPC, i checked it) nothing happens, even though the action was happening at its coordinates.
Heres the tricky part, I set the triggeraction to do it at my position and when i walk up to the NPC and use it it responds correctly, I don't understand what the problem is. Please Help!

TDO2000 11-15-2001 10:55 PM

callnpc should work better...

nyghtGT 11-16-2001 01:54 AM

Quote:

Originally posted by BocoC
The X and Y stand for where the action will be triggered.
k so if the NPC is at 30,32 i have to make it so the triggeraction points to hat right ?

TDO2000 11-16-2001 03:01 AM

Quote:

Originally posted by nyghtGT

k so if the NPC is at 30,32 i have to make it so the triggeraction points to hat right ?

exactly but if u want to trigger a player at this position u have to add 1.5 to x and 2 to y... it's silly but else it won't work

PresShinP2P 11-16-2001 07:28 AM

Quote:

Originally posted by TDO2000
callnpc should work better...
i never really got how to use callnpc, can you explain please


All times are GMT +2. The time now is 03:45 AM.

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