tommerbob
Minecraft. :D
- Reaction score
- 110
Question about using custom scripts:
I am using Zwiebelchen's Threat System. He has a function included that lets me check the combat state of a unit. Here's the specific part of the system that is concerned:
But I'm noob at Jass, so I'm wondering if anyone can tell me the custom script lines I need to use to check for that boolean in GUI. Thanks in advance.
I am using Zwiebelchen's Threat System. He has a function included that lets me check the combat state of a unit. Here's the specific part of the system that is concerned:
JASS:
// call ZTS_GetCombatState(unit PU) returns boolean:
//
// Returns the combat state of a player unit.
// Returns true, if the unit is registered and in combat.
// Returns false, if the unit is not registered or out of combat.
But I'm noob at Jass, so I'm wondering if anyone can tell me the custom script lines I need to use to check for that boolean in GUI. Thanks in advance.