Thread: triggeraction
View Single Post
  #2  
Old 05-09-2010, 12:42 AM
oo_jazz_oo oo_jazz_oo is offline
Jazz teh Awesome
oo_jazz_oo's Avatar
Join Date: Jul 2006
Location: California
Posts: 596
oo_jazz_oo is a jewel in the roughoo_jazz_oo is a jewel in the rough
Send a message via MSN to oo_jazz_oo
I don't think thats true?

I've done a triggeraction with npcs that have a setshape, but no image...

Edit: Yep, checked it.

I have a npc that has an image that is 5x5, but the trigger action still works.

Script:
PHP Code:
function onCreated() {
  
setimg("jazz_dot.png");
  
this.setshape(13232);
}
function 
onActionDooblyDoo() {
  
this.chat "Success!";
}
//#CLIENTSIDE
function onCreated() {
  
triggeraction(this.x+.5this.y+.5"DooblyDoo"nil);

Check attachment for image. :P
Attached Images
 
Reply With Quote