Page 1 of 1

Hit and run

Posted: 30 Mar 2012, 11:24
by NoQ
I think one single change can greatly improve the AI micromanagement:

Code: Select all

function eventDischarged(droid) 
{
    orderDroidLoc(droid,DORDER_MOVE,startPositions[me].x,startPositions[me].y);
}
I'm asking to make eventDischarged(droid), that is called every time the droid's white charge bar gets empty.
This is not called for weapons like machineguns that don't have white charge bar.
It's up to me to improve this code to decide wether a certain weapon needs this sort of behaviour or not.
The main thing is that this event shouldn't be throttled.

Re: Hit and run

Posted: 30 Mar 2012, 13:16
by aubergine
Yup, this would indeed be a very useful event to have!