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.
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
Please log in to shout.


Members Online: jjf28, Excalibur