In response to F0lak
Hey F0lak, thanks for your response, got it all working now.
Had to change this line;
src.staff

to;
src.mob.staff

though.
Thanks to Albro, Pirion, F0lak.
In response to Raimo
Raimo wrote:
Hey F0lak, thanks for your response, got it all working now.
Had to change this line;
> src.staff
>

to;
> src.mob.staff
>

though.
Thanks to Albro, Pirion, F0lak.

Something else you might consider is rather than having staff be a mob variable, have it as a client var. This way you a) don't have an extra variable kicking around on all mobs (NPCs, Shopkeepers, etc) and b) You don't have to worry about carrying it over if/when clients ever change mobs at runtime. Just something to consider, right?
Page: 1 2