Search found 4 matches
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable- Mon Jan 04, 2010 6:07 pm
- Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
- Topic: Unit pointers
- Replies: 3
- Views: 1436
- Fri Jan 01, 2010 6:49 pm
- Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
- Topic: Unit pointers
- Replies: 3
- Views: 1436
Unit pointers
For how long will pointers to units be valid, after the unit has been destroyed?
- Fri Dec 25, 2009 9:54 am
- Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
- Topic: Detecting units under attack
- Replies: 0
- Views: 2992
Detecting units under attack
Is there a way to detect if unit is being attacked, with what damage type and which unit is attacking it?
I can check if hitpoints have decreased compared to the previous frame, but is there a better way?
I can check if hitpoints have decreased compared to the previous frame, but is there a better way?
- Fri Dec 25, 2009 9:50 am
- Forum: BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)
- Topic: Disable pathfinding and auto-attack
- Replies: 4
- Views: 1906
Disable pathfinding and auto-attack
Two BWAPI questions:
1) How can I disable Broodwar's pathfinding in BWAPI?
I want to order unit to just go in straight line to the destination and stop in case it hits an obstacle.
2) How can prevent my units from auto attacking enemy units?
1) How can I disable Broodwar's pathfinding in BWAPI?
I want to order unit to just go in straight line to the destination and stop in case it hits an obstacle.
2) How can prevent my units from auto attacking enemy units?
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable