Page 1 of 1
SystemFindObjectBySerial
Posted: Mon Oct 19, 2009 7:13 am
by Tharon
Is it possible to find the master of an animal if he logtout? I need it to control that only tamed animals will be resurrected.
Code: Select all
var master:=SystemFindObjectBySerial(GetObjProperty(corpse,"master"));
Re: SystemFindObjectBySerial
Posted: Mon Oct 19, 2009 2:45 pm
by Tomi
first question why you dont use simply npc.master ?
and for systemfindobjectbyserial there is a flag in uo.em
// SystemFindObjectBySerial options:
const SYSFIND_SEARCH_OFFLINE_MOBILES := 1;
Re: SystemFindObjectBySerial
Posted: Tue Oct 20, 2009 12:08 am
by Tharon
Tomi wrote:
// SystemFindObjectBySerial options:
const SYSFIND_SEARCH_OFFLINE_MOBILES := 1;
cool thx