Abilities - Reetus/ClassicAssist GitHub Wiki
ClassicAssist Macro Commands
Generated on 12/15/2024 3:30:41 AM
Version: 4.425.22+b9a337759d26b9d39ae8ccaac75a36c4255be94a
Abilities
ActiveAbility
Method Signature:
Boolean ActiveAbility()
Description:
Returns True if either the primary or secondary ability is set
Example:
if not ActiveAbility():
SetAbility("primary", "on")
ClearAbility
Method Signature:
Void ClearAbility()
Description:
Clear weapon ability.
Example:
ClearAbility()
Fly
Method Signature:
Void Fly()
Description:
(Garoyle) Start flying if not already flying.
Example:
Fly()
Flying
Method Signature:
Boolean Flying(System.Object)
Parameters
- obj: An entity serial in integer or hex format, or an alias string such as "self".
Description:
Returns true if mobile is currently flying.
Example:
if Flying("self"):
Land
Method Signature:
Void Land()
Description:
(Garoyle) Stop flying if currently flying.
Example:
Land()
SetAbility
Method Signature:
Void SetAbility(System.String, System.String)
Parameters
- ability: The name of the ability, "primary", "secondary", "stun" or "disarm".
- onoff: "on" or "off". (Optional)
Description:
Set weapon ability, parameter "primary" / "secondary".
Example:
SetAbility("primary")