Thread: Triggeraction
View Single Post
  #1  
Old 03-18-2005, 04:11 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
Triggeraction

I'm trying to trigger an action on a character NPC when a timer runs down. Heres what i have in the triggering NPC.

NPC Code:

]if (created) {
timeout = 20;
}

if (timeout) {
triggeraction 28,12,go,;
}



The co-ordinates are correct too because i've put x=28; y=12; in the NPC witch the action should be triggered.

I read in another thread that something different needs to be done for character NPCs... but I diddnt understand what. What i have works if the NPC is not a showcharacter; NPC if i put in setshape as I read in another thread.

Can someone tell me what needs changing to make it work for showcharacter NPCs?
Reply With Quote