Quote:
Originally posted by jeff335
I wonder...could join be used with lists of functions, like:
in every npc, if(created){join standard_funcs;}
in NPCs in area Bomboria, if(created){join bomboria_funcs;]
?
|
you could do that....
You dont need to put it in any functions...
here is an example of how I use it...
NPC Code:
if (created) {
this.maxflakes = 100;
}
join snow;
I have the join outside of any if statements because when you join it its putting all the coding that you have from whats in that class file into the npc (not really putting it into it but thats how it reads the script)