
12-16-2005, 10:26 PM
|
Former Classic Staff
|
 |
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
|
|
Joining Classes
When you use the join() function to join a class, what is the precedence of event handlers? Can event handlers share the same events with the NPC?
ex.
let's say this is class "class":
function onCreated() {
setshape(1,32,32);
}
and call this an npc:
join("class");
function onCreated() {
setshape(1,64,64);
}
would the class event handler be called and then the npc event handler? Would they both have the capacity to be called? I'm just wondering because I just decided to propose an action handling structure for Classic, but it would probably encounter this a lot. |
|
|