Merge branch 'sofab194/pycommandcenter-master'
Following change description: * Added getTarget() to Unit: (Accessed via unit.target in python) 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!). * Added hasTarget() to Unit: (Accessed via unit.has_target in python) Returns true if unit has a valid target. * Added isBlip() to Unit: (Accessed via unit.is_blip in python) Returns true if unit is a "blip" - a ping on the map. * Added possible access to the current frame of the game in python (IDABot.current_frame).
No related branches found
No related tags found
Showing
- python-api-src/lib_unit.cpp 4 additions, 0 deletionspython-api-src/lib_unit.cpp
- python-api-src/lib_unittype.cpp 2 additions, 1 deletionpython-api-src/lib_unittype.cpp
- python-api-src/library.cpp 3 additions, 1 deletionpython-api-src/library.cpp
- src/Unit.cpp 48 additions, 0 deletionssrc/Unit.cpp
- src/Unit.h 5 additions, 0 deletionssrc/Unit.h
- src/UnitType.cpp 5 additions, 0 deletionssrc/UnitType.cpp
- src/UnitType.h 2 additions, 0 deletionssrc/UnitType.h
Loading
Please register or sign in to comment