Staredit Network

Staredit Network -> UMS Assistance -> How to make computer as an ally...?
Report, edit, etc...Posted by hata711 on 2005-01-11 at 07:00:26
I have been trying for many times... the computer still attacks me.

=========================================
Conditions:

-Always
-Elapsed scenario time is at least 0 time seconds.

Actions:

-Set XXX to ally.
-Set XXX to ally victory.
-Execute AI script "Turn on shared vision for player X"

=========================================

PS: at least 0 means bigger than 0, at most 0 means smaller than 0 right?

The computer still attacks me.
Report, edit, etc...Posted by AqoTrooper on 2005-01-11 at 08:04:50
you need to create two triggers:
first - like you said, second - same one only for the computer player to also be allied with you.
Report, edit, etc...Posted by hata711 on 2005-01-11 at 09:50:43
QUOTE(AqoTrooper @ Jan 11 2005, 09:04 PM)
you need to create two triggers:
first - like you said, second - same one only for the computer player to also be allied with you.
[right][snapback]123022[/snapback][/right]


But there is still no vision? how to share computer's vision?
thanks
Report, edit, etc...Posted by chuiu on 2005-01-11 at 10:01:56
Alright, let's say Player 1 is you and Player 2 is the computer. For player one you need to following trigger:

Player 1
Conditions:
Always.
Actions:
Set Player 2 to Ally.
Set Player 2 to Allied victory.
Execute AI script "Turn on shared vision for Player 2".

And then one for Player 2 which says:

Player 2
Conditions:
Always.
Actions:
Set Player 1 to Ally.
Set Player 1 to Allied victory.
Execute AI script "Turn on shared vision for Player 1".
(though being a computer, it doesn't really need this)

Hope that helps.
Report, edit, etc...Posted by hata711 on 2005-01-11 at 11:34:44
QUOTE(Chu @ Jan 11 2005, 11:01 PM)
Alright, let's say Player 1 is you and Player 2 is the computer.  For player one you need to following trigger:

Player 1
Conditions:
Always.
Actions:
Set Player 2 to Ally.
Set Player 2 to Allied victory.
Execute AI script "Turn on shared vision for Player 2".

And then one for Player 2 which says:

Player 2
Conditions:
Always.
Actions:
Set Player 1 to Ally.
Set Player 1 to Allied victory.
Execute AI script "Turn on shared vision for Player 1".
(though being a computer, it doesn't really need this)

Hope that helps.
[right][snapback]123039[/snapback][/right]


Thanks! It works biggrin.gif

Next Page (1)