HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

CPU Antics

12-08-2008, 05:58 AM#1
Limb_Smasher
Hey I dunno if this is the correct niche for this thread, so I'm sorry in advance.

When I create a unit for a computer player and issue it to move to a point, it comes back after it touches the point.
Is this because I have no AI for the computer?
I specifically tell it to "move", so it shouldn't be patrolling.

Any feedback is appreciated
thanks!
12-08-2008, 06:09 AM#2
Ammorth
some action called Player - Ignore Guard Positions. call it on the player in question.
12-09-2008, 04:11 AM#3
Limb_Smasher
I tried using
Collapse JASS:
    set i = 8
    loop
        exitwhen i > 12
        call RemoveAllGuardPositions( Player(i) )
        set i = i + 1
    endloop
and it doesn't work.
Am I doing something wrong?
Does anyone have any other ideas?
12-09-2008, 07:23 AM#4
Ammorth
What player specifically are you having problems with? For the normal players, that should work fine, but for neutral players, it may still cause issues.
12-09-2008, 11:25 PM#5
Limb_Smasher
They are computers.
Well at least that's what the player properties are.
12-10-2008, 12:21 AM#6
moyack
Have you set an AI file??? if so, then we could have an issue there....
12-10-2008, 08:52 PM#7
Karawasa
Quote:
Originally Posted by moyack
Have you set an AI file??? if so, then we could have an issue there....

Quote:
Originally Posted by Limb_Smasher
Is this because I have no AI for the computer?

Is the unit being damaged when you encounter this effect? If a computer owned unit does not have a current move order being carried out, then it will act quite funny when it receives damage.

Wonder if this has anything to do with Can Flee...