Search found 4 matches

by krmenadla
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: 1018

How much memory pressure will BWAPI put on starcraft process if it keeps Unit objects allocated for every unit that was ever created during the match?
by krmenadla
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: 1018

Unit pointers

For how long will pointers to units be valid, after the unit has been destroyed?
by krmenadla
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: 978

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?
by krmenadla
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: 1446

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?

Go to advanced search