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.
[2026-4-18. : 3:57 am]
NudeRaider -- https://staredit.net/381600/ You have 5 minutes, then you can only edit your posts.
[2026-4-17. : 4:05 pm]
NudeRaider -- DarkenedFantasies
DarkenedFantasies shouted: you eat lots of beans
:lol:
[2026-4-17. : 11:30 am]
NudeRaider -- I would like 3000 minerals, please
[2026-4-16. : 7:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
Please log in to shout.


Members Online: Zoan