Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   triggeraction (https://forums.graalonline.com/forums/showthread.php?t=10963)

KJS 09-02-2001 04:06 AM

triggeraction
 
triggeraction doesn't work if the npc is hidden...

so if you say like

if(created)
hide;
if(actionblah)
x--;

I am not sure if you knew this already or not..

but just thought to say it anyways...

BocoC 09-02-2001 04:54 AM

I think, and I might be wrong on this, that triggeraction only works if it "hits" a non-transparent part of the npc. Basically, the image area.

KJS 09-02-2001 05:26 AM

Quote:

Originally posted by BocoC
I think, and I might be wrong on this, that triggeraction only works if it "hits" a non-transparent part of the npc. Basically, the image area.
no it works if you hit a transparent part of the npc....

Falcor 09-02-2001 10:09 AM

maybe setshape 1,pixlewidth,pixleheight; helps? duno. never really did trivggeraciton on hidden NPCs.

KJS 09-02-2001 10:15 AM

Quote:

Originally posted by Falcor
maybe setshape 1,pixlewidth,pixleheight; helps? duno. never really did trivggeraciton on hidden NPCs.
lol do you count me for stupid??

of course I did that...

I always setshape on things (cuz like the npc server and all)

and I think you need to use setshape to allow trigger action on npc servers (just like playertouchsme)


All times are GMT +2. The time now is 12:58 PM.

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