Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Ally Vision With Computer
Ally Vision With Computer
Aug 29 2007, 4:31 am
By: frazz  

Aug 29 2007, 4:31 am frazz Post #1



I tried running that scrip for turning on Share Vision, but it's not working.
Here's the trigger from trigedit(I'm using SCMdraft):
Trigger("Player 7"){
Conditions:
Always();

Actions:
Set Alliance Status("Player 1", Ally);
Set Alliance Status("Player 2", Ally);
Set Alliance Status("Player 3", Ally);
Set Alliance Status("Player 4", Ally);
Set Alliance Status("Player 5", Ally);
Set Alliance Status("Player 6", Ally);
Set Alliance Status("Player 8", Enemy);
Run AI Script At Location("+Vi0", "Anywhere");
Run AI Script At Location("+Vi1", "Anywhere");
Run AI Script At Location("+Vi2", "Anywhere");
Run AI Script At Location("+Vi3", "Anywhere");
Run AI Script At Location("+Vi4", "Anywhere");
Run AI Script At Location("+Vi5", "Anywhere");
Comment("Ally and Vision players 1 - 6\r\nEnemy player 8");
}

I remember I had trouble with this before, but since the database isn't up I can't check.



None.

Aug 29 2007, 5:18 am Demented Shaman Post #2



You've got it mixed up. The player whose vision you want changed has to own the trigger and run the ai script. In other words, the vision is changed for the player who runs the AI script. So if you want the human players 1 through 6 to have vision to the player 7 computer you need to have a trigger for p1-6 that runs the AI script Turn on Shared Vision for P7.

Trigger("Player 1","Player 2","Player 3","Player 4","Player 5","Player 6"){
Conditions:
Always();

Actions:
Run AI Script At Location("+Vi7", "Anywhere");
}

Post has been edited 3 time(s), last time on Aug 29 2007, 5:20 am by devilesk.



None.

Aug 29 2007, 6:56 pm Money Post #3



Starcraft is weird like that :dontgetit:



None.

Aug 29 2007, 11:17 pm Khala Post #4



isnt it suppose to be run ai script, with no at location



None.

Aug 29 2007, 11:22 pm Money Post #5



I don't think it matters, if you add the at location you still get the same options plus many more.



None.

Aug 29 2007, 11:24 pm frazz Post #6



Thanks, devilesk.
Khala: No, for some crazy mixed up reason, that script is only available at a location.

If Starcraft had been better designed for UMS, we wouldn't have this problem. :flamer:



None.

Aug 29 2007, 11:26 pm Money Post #7



Lets hope Scumedit is better ^^



None.

Aug 30 2007, 4:23 am DT_Battlekruser Post #8



Quote
Khala: No, for some crazy mixed up reason, that script is only available at a location.

Huh?

RunAIScript(Turn ON Shared Vision for Player 1);

Use RunAIScript, not RunAIScriptAt. There is no need to specify a location if you're using Anywhere.




None.

Aug 30 2007, 4:30 am Demented Shaman Post #9



Oh, I didn't notice that at location was there. I was just editting the trigger he posted, and I'm not sure that it would cause a problem anyway. However I've always just used "Run AI Script".

Post has been edited 1 time(s), last time on Aug 30 2007, 4:31 am by devilesk.



None.

Aug 30 2007, 5:18 pm frazz Post #10



pft. Looks like I don't know what I'm doing. I checked it though, and it works either way.

I'm glad to see staredit.net is already so active again.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:01 pm]
NudeRaider -- Vrael
Vrael shouted: because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
given Moose's post I don't think he had to guess. ^^
[04:53 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: Nude why'd you delete my shout
why not? :awesome:
[04:26 pm]
Vrael -- because you perfectly guessed SEN's root password and we cant have that displayed all over the shoutbox
[03:58 pm]
lil-Inferno -- sadjfjkasdhfijsadhmfcjhsdajkvfmjadslkfhjsdkahf
[03:58 pm]
lil-Inferno -- Nude why'd you delete my shout
[03:35 pm]
NudeRaider -- never trust a statistic you haven't forged yourself
[04:37 am]
Ultraviolet -- 80% of statistics are made up on the spot
[2026-6-08. : 8:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
Please log in to shout.


Members Online: Moose, Roy