Page 8 of 8

Re: New DLL callbacks - any requests?

Posted: Mon Nov 14, 2016 7:56 pm
by General BlackDragon
A function to tell if something is objectified would be useful. I'm not sure, but I think BZ2 does objectification based on Team.

DLLEXPORT bool DLLAPI IsObjectiveOn(Handle h, int Team = -1); // Returns true if this object is objectified for this team, false if not. If Team is -1, reports true if it is objectified for any team(s), false if not any.

Re: New DLL callbacks - any requests?

Posted: Wed Nov 16, 2016 4:33 pm
by General BlackDragon
A function to tell if the specified handle is a tap would be useful. Atm we have to look at all the other handles, and loop over each one 8 times doing if h == GetTap(h, i); to tell if it's a tap.

DLLEXPORT Handle DLLAPI GetTapParent(Handle h); // If this object is a tap, returns the parent object's handle. Returns 0 if h is invalid, or not a tap.