Report, edit, etc...Posted by xile on 2004-12-19 at 12:53:22
I want to make the computer players attack better some times they just walk right passed an enemy and if there movement could be a little more random that would be good and a random unit chooser to
Report, edit, etc...Posted by DjDTM on 2004-12-19 at 13:54:42
Report, edit, etc...Posted by DjDTM on 2004-12-19 at 14:44:15
Yea thats what I last, said but then I realized that the triggers condition was "bring at least 1 to *location*"
And the locations is really small.
So it will keep ordering it to do stuff untill it leaves that location...
So it should be fine...
Add more conditions though... Maybe even a wait.
Report, edit, etc...Posted by xile on 2004-12-20 at 13:21:10
[attachmentid=3427]
ok I got the random to work But the computer units still dont attack properly????
Report, edit, etc...Posted by DjDTM on 2004-12-20 at 16:07:12
In the middle you have a few locations.
You have triggers set up to where if they go to that location their immediatley given an order to go the the next location.
When this happens they would stop fighting and then start fighting.
This is because when you give a unit an order theres a delay for them to RE-ATtack the unit they were already attacking.
I think you have a few unessecary triggers and locations.
Mostly the ones you have in the middle.
Create a new location that covers that whole left middle section and
Add a condition to your move triggers that is Player 8 brings exactly 0 men to middle. So that the trigger only goes off when the person is not there, that way they still attack eachother, and they don't stop.
Edit: I've done you a favor and completly remade your order commands.
Report, edit, etc...Posted by ChaosRyder on 2004-12-20 at 17:45:07
QUOTE(xile @ Dec 20 2004, 02:21 PM)
[attachmentid=3427]
ok I got the random to work But the computer units still dont attack properly???? [right][snapback]112631[/snapback][/right]
Don't you already have a topic about that?
Report, edit, etc...Posted by xile on 2004-12-21 at 21:17:43
QUOTE(ChaosRyder @ Dec 20 2004, 03:45 PM)
Don't you already have a topic about that? [right][snapback]112719[/snapback][/right]
yea I thought no one would anser a new question in an old post oh well leson learned
ADDITION:
QUOTE(DjDTM @ Dec 20 2004, 02:07 PM)
In the middle you have a few locations.
You have triggers set up to where if they go to that location their immediatley given an order to go the the next location.
When this happens they would stop fighting and then start fighting.
This is because when you give a unit an order theres a delay for them to RE-ATtack the unit they were already attacking.
I think you have a few unessecary triggers and locations.
Mostly the ones you have in the middle.
Create a new location that covers that whole left middle section and
Add a condition to your move triggers that is Player 8 brings exactly 0 men to middle. So that the trigger only goes off when the person is not there, that way they still attack eachother, and they don't stop.
Edit: I've done you a favor and completly remade your order commands. [right][snapback]112672[/snapback][/right]