yeah, this is what is used for quest_globals, for instance.
Ok for that, it's a good idea, i suppose we should have an "int event_mask;" field in Mob that would extend qglobal's behaviour, i.e let event trigger or not depending on Mob's having usage for it.
i suppose this has to be a simple type, so int32 is fine for now. This allows for 32 events. Gonna go and work on that;
p.s. my windoze box died last night (heart attack, AMD cpu don't live long :(, less than 5 years, where have IBM good times gone ?), so can not follow this very accurately atm.
i started some changes to Quest CVS, including EVENT_AGGRO and EVENT_RANGE. It's running on my pet server, but i dont have the client to test it :/
|