I know i asked about this earlier but i never really got it working properly and the thread was closed so i ask again
How is the index in SetFlag(index, flagid) handled?
because i looked up how it was made and came up with this
value of UNIT_FIELD_FLAGS is 59 so i thought index would be 59 but it dosnt work for me somehow...Code:creature->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
is it used in the codeCode:if(intid == 2) then unit:SendUnitSay("You filthy Thorn! This is my cave.", 0) unit:SetFlag(59, 0) unit:RegisterEvent(cine1, 5000, 1) end
Thanks in advance