![]() |
Triggeraction and local NPCs?
I made a local NPC on a level (using the NPC placement thingy, then scripting with GS2 and uploading to test). It seems my triggeraction doesn't work. Here it is:
triggeraction(0,0,"serverside",name,player.str,pla yer.agi,player.int,player.spi,player.sta); I have no idea why it won't work...any help? :( |
To trigger local NPCs you have to use their coordinates, not 0,0.
so like: triggeraction(this.x, this.y, "actionName", ...); |
| All times are GMT +2. The time now is 02:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.