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.
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Zycorax