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.
New DLL callbacks - any requests?
Moderators: GSH, VSMIT, Red Devil, Commando
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: New DLL callbacks - any requests?
Battlezone Classic Public Forums
*****General BlackDragon*****
*****General BlackDragon*****
- General BlackDragon
- Flying Mauler
- Posts: 2408
- Joined: Sat Feb 19, 2011 6:37 am
- Contact:
Re: New DLL callbacks - any requests?
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.
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.
Battlezone Classic Public Forums
*****General BlackDragon*****
*****General BlackDragon*****