Thread: Vecx and Vecy
View Single Post
  #20  
Old 09-07-2002, 11:56 AM
bigkow44 bigkow44 is offline
Registered User
bigkow44's Avatar
Join Date: Dec 2001
Location: Inside my head.
Posts: 610
bigkow44 is on a distinguished road
Quote:
Originally posted by haunter


Hmm alright, thanks for your help.

By the way, I was playing around with triggeraction and I can't get it to work,

NPC Code:


if (created) {
showcharacter;
}
if (playerchats&&strequals(#c,Test)) {
triggeraction x,y,test,;
}
if (actiontest) {
setcharprop #c,Test_kekeke;
}



Should that work, or am I just really dumb?
You use the (actiontest) or whatever in a different NPC usually...If its the same NPC you do a function

Also if it is a separate NPC and the separate one has an image, the triggeraction must be on the image. kind of like opening an NPC, your mouse has to be on its image or that blank NPC outline
__________________
Reply With Quote