
01-10-2008, 04:32 AM
|
|
o.o
|
 |
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
|
|
Quote:
Originally Posted by napo_p2p
You can use triggeraction to do just that ... (just make sure you set the NPCs shape).
Just an example:
PHP Code:
function onCreated() {
setshape(1, 32, 32);
}
function onActionMessage(msg) {
this.chat = temp.msg;
}
//#CLIENTSIDE
function onPlayerChats() {
triggeraction(this.x, this.y, "message", player.chat);
}
|
Really?
Must have not worked last time because I didn't set set a shape 
Thanks! |
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
|
|
|
|