Quote:
Originally Posted by jake13jake
waittt a second.
npc-->npc name? would that mean the first string is the type of object the action is pointing to? I'd rather just pass it any object.
|
Yessir. That's how it is on 3D. On 2D you can just do obj.trigger("action", "params"); and it calls onAction(). I think that is better imo.