GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.waspscripts.com — Combat Combat¶Methods to interact with the combat gametab:
TCombat¶Main record responsible with handling the combat gametab. Combat.IsOpen¶function TCombat.IsOpen(): Boolean; Returns true/false if the combat tab is open. Example: WriteLn Combat.IsOpen(); Combat.Open¶function TCombat.Open(): Boolean; Attempts to open the combat gametab. Example: WriteLn Combat.Open(); Combat.GetCategory¶function TCombat.GetCategory(): EWeaponCategory; Returns the Example: {$I WaspLib/main.simba} begin WriteLn Combat.GetCategory(); end. Combat.StyleBoxes¶property TCombat.StyleBoxes: TBoxArray; Returns the the attack style boxes available. Example: {$I WaspLib/main.simba} begin while True do ShowOnTarget(Combat.StyleBoxes); end.
Combat.WeaponStyle¶property TCombat.WeaponStyle: EWeaponStyle; property TCombat.WeaponStyle(value: EWeaponStyle): Boolean; Gets/Sets the weapon Example: {$I WaspLib/main.simba} begin WriteLn Combat.WeaponStyle; WriteLn Combat.WeaponStyle := EWeaponStyle.BLOCK; WriteLn Combat.WeaponStyle; end. Combat.MeleeStyle¶property TCombat.MeleeStyle: EMeleeStyle; property TCombat.MeleeStyle(value: EMeleeStyle): Boolean; Gets/Sets the combat Example: {$I WaspLib/main.simba} begin WriteLn Combat.MeleeStyle; WriteLn Combat.MeleeStyle := EMeleeStyle.SLASH; WriteLn Combat.MeleeStyle; end. Combat.AutoRetaliate¶property TCombat.AutoRetaliate: Boolean; property TCombat.AutoRetaliate(value: Boolean): Boolean; Gets/Sets the auto retaliate state. Example: {$I WaspLib/main.simba} begin WriteLn Combat.AutoRetaliate; Combat.AutoRetaliate := True; WriteLn Combat.AutoRetaliate; Combat.AutoRetaliate := False; WriteLn Combat.AutoRetaliate; end. Combat.SpecialAttack¶property TCombat.SpecialAttack: Boolean; property TCombat.SpecialAttack(value: Boolean): Boolean; Gets/Sets the special attack state. Example: {$I WaspLib/main.simba} begin WriteLn Combat.SpecialAttack; Combat.SpecialAttack := True; WriteLn Combat.SpecialAttack; Combat.SpecialAttack := False; WriteLn Combat.SpecialAttack; end. Combat variable¶Global TCombat variable. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |