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-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are some real members mixed in those latter pages, but the *vast* majority are spam accounts
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- there are almost 3k pages
[2024-4-14. : 9:21 pm]
O)FaRTy1billion[MM] -- the real members stop around page 250
[2024-4-14. : 9:20 pm]
O)FaRTy1billion[MM] -- look at the members list
[2024-4-12. : 12:52 pm]
Oh_Man -- da real donwano
da real donwano shouted: This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
it's pretty common
[2024-4-11. : 9:53 pm]
da real donwano -- This is the first time I've seen spam bots like this on SEN. But then again, for the last 15 years I haven't been very active.
[2024-4-11. : 4:18 pm]
IlyaSnopchenko -- still better than "Pakistani hookers in Sharjah" that I've seen advertised in another forum
[2024-4-11. : 4:07 pm]
Ultraviolet -- These guys are hella persistent
[2024-4-11. : 3:29 pm]
Vrael -- You know, the outdoors is overrated. Got any indoor gym and fitness equipment?
[2024-4-10. : 8:11 am]
Sylph-Of-Space -- Hello!
Please log in to shout.


Members Online: eksxo, Roy