Skip to content
Snippets Groups Projects
Commit 1ab797a6 authored by David Bergström's avatar David Bergström
Browse files
parent 1b78542d
No related branches found
No related tags found
No related merge requests found
...@@ -64,3 +64,5 @@ IDABot ...@@ -64,3 +64,5 @@ IDABot
.. autoattribute:: current_supply .. autoattribute:: current_supply
.. autoattribute:: max_supply .. autoattribute:: max_supply
.. autoattribute:: current_frame
...@@ -25,6 +25,10 @@ Unit ...@@ -25,6 +25,10 @@ Unit
.. autoattribute:: hit_points .. autoattribute:: hit_points
.. autoattribute:: id .. autoattribute:: id
.. autoattribute:: is_alive .. autoattribute:: is_alive
.. autoattribute:: is_blip
Returns true if unit is a "blip" - a ping on the map.
.. autoattribute:: is_being_constructed .. autoattribute:: is_being_constructed
Returns build_progress > 0 Returns build_progress > 0
...@@ -52,6 +56,10 @@ Unit ...@@ -52,6 +56,10 @@ Unit
.. autoattribute:: unit_type .. autoattribute:: unit_type
.. autoattribute:: weapon_cooldown .. autoattribute:: weapon_cooldown
.. attribute:: Unit.target
Returns target if unit has one, otherwise will fail the assertion (make sure not to call this unless certain that the unit has a target!).
Methods: Methods:
.. automethod:: stop .. automethod:: stop
...@@ -68,4 +76,7 @@ Unit ...@@ -68,4 +76,7 @@ Unit
.. automethod:: train .. automethod:: train
.. automethod:: research .. automethod:: research
.. automethod:: morph .. automethod:: morph
.. method:: Unit.has_target
Returns True if the target has a valid target and False otherwise.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment