Staredit Network

Staredit Network -> UMS Assistance -> 3 Questions about AI and Neutral
Report, edit, etc...Posted by Sie_Sayoka on 2006-08-29 at 05:34:08
1. What AI script would you need to make computers attack Neutral units

2. Are neutral units effected by triggers

3. Are interceptors effected by movement triggers

4. Do you like pie?
Report, edit, etc...Posted by Kupo on 2006-08-29 at 05:38:26
i can only answer one question

4: YES!
Report, edit, etc...Posted by Gigins on 2006-08-29 at 06:22:16
1. I don't know, sorry. blushing.gif
2. Yea, sure.
3. No but there is an AI script that can make them move.
4. YEA BABY!!! eat.gif
Report, edit, etc...Posted by Sie_Sayoka on 2006-08-29 at 06:24:10
ok well what if i use player 9, would player 8(computer) attack player 9?

and would it crash?
Report, edit, etc...Posted by Gigins on 2006-08-29 at 06:26:39
P9 AI is all messed up, it's not neutral. Don't use p9.

Lol, I actually know how to make comp attack a neutral player, silly me. tongue.gif
Make a trigger to set the neutral player enemy, for the computer. biggrin.gif
Report, edit, etc...Posted by Sie_Sayoka on 2006-08-29 at 07:46:02
ok thx
Report, edit, etc...Posted by Shadow181 on 2006-08-29 at 08:04:28
1. http://www.staredit.net/index.php?tutorial=103 had a guide to which neutrals players were allied to, now gone, one of the 9-12 players (4get which) are enimies to all players.

2. only certain triggers.

3. IDK, I've seen some games where they do some crazy stuff with intercepters, so maybe.

4. Who doesn't.
Report, edit, etc...Posted by Gigins on 2006-08-29 at 09:31:24
QUOTE(Shadow181 @ Aug 29 2006, 03:04 PM)
1. http://www.staredit.net/index.php?tutorial=103 had a guide to which neutrals players were allied to, now gone, one of the 9-12 players (4get which) are enimies to all players.

2. only certain triggers.
[right][snapback]552932[/snapback][/right]

1. Just set the player to enemy, thats it.

2. Not true. All triggers work.
Report, edit, etc...Posted by Lord-Omega on 2006-08-29 at 11:11:05
this might work
1: use ai script set player to enemy "loc over the nuetral units"
and then
Order all units at "location over comp" to atk " loc over nuetral units".
might work might not, not sure.

2: yes

3: uhhh maby
4: emmmmm pie........ MY PIE, GET AWAY FROM MY PIE, I KILL YOU IF YOU TOUCH MY PIE.... emmmmmm pie........
Report, edit, etc...Posted by PCFredZ on 2006-08-29 at 11:38:26
QUOTE(Lord-Omega @ Aug 29 2006, 11:10 AM)
this might work
1: use ai script set player to enemy "loc over the nuetral units"
and then
Order all units at "location over comp" to atk " loc over nuetral units".
might work might not, not sure
[right][snapback]553002[/snapback][/right]

That AI script was used before the existence of the Set Alliance actions, there shouldn't be a difference in their behaviors.
Report, edit, etc...Posted by Lord-Omega on 2006-08-29 at 21:39:10
its worth a shot....
Report, edit, etc...Posted by MoonlighTurtle on 2006-08-29 at 22:46:46
I don't believe that set player to enemy at location AI script works anymore. I believe the set alliance actions basically replaced them.
Report, edit, etc...Posted by RedSword on 2006-08-31 at 20:37:25
QUOTE
2. Not true. All triggers work.


Not true, "create unit" and "CUWP" doesnt affect player 9-12, what you need to do if u want to create a unit for those players, create it for player X (let's say player 1) then give the unit from player 1 to player 9-to-12, the player will still have the color of player 1, but will change to his next owner
Report, edit, etc...Posted by PCFredZ on 2006-08-31 at 21:10:33
QUOTE(RedSword @ Aug 31 2006, 08:37 PM)
Not true, "create unit" and "CUWP" doesnt affect player 9-12, what you need to do if u want to create a unit for those players, create it for player X (let's say player 1) then give the unit from player 1 to player 9-to-12, the player will still have the color of player 1, but will change to his next owner
[right][snapback]554040[/snapback][/right]

Are you sure that when you didn't get it to work, you were trying to run the trigger with P9-P12 checked in the Player section?
Report, edit, etc...Posted by MoonlighTurtle on 2006-09-01 at 12:40:53
RedSword is correct.

It's a "well known" fact that you cannot create units for neutral players, they either have to be preplaced or created for another player and then be given.
Next Page (1)