Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Execute AI script Random Suicide Mission
Execute AI script Random Suicide Mission
Aug 4 2009, 8:21 pm
By: Madroc  

Aug 4 2009, 8:21 pm Madroc Post #1



So in the RPG I'm working on, one of the choices is a wraith. Computer 7 is set aside to have a Valkyrie somewhere and Computer 7 also has an "always execute ai script random suicide mission preserve" trigger to make the Valkyrie always go towards the wraith, unless the wraith is cloaked. However, Computer 7 also has one other very important function, which is to control the vHP (blinded observers) that follow every player around (and which Computer 8 shoots at). Unfortunately the random suicide mission trigger makes the observers always follow the closest unit, be it a comsat station or one of Computer 8's units or another player, even though I have "always order observers to their respective player preserve" triggers for each player.

Could I be doing something wrong? If not, is there another way to detect the wraith's cloaking?
Thanks in advance :)




None.

Aug 4 2009, 8:28 pm Falkoner Post #2



You could use another cloaked wraith owned by the computer, and just put it closer to the wraith, just outside of range, using Mobile Grids.



None.

Aug 4 2009, 8:29 pm Biophysicist Post #3



Wouldn't making sure the "Always order observers to their repsective players" triggers execute after the AI script do it?



None.

Aug 4 2009, 8:33 pm Madroc Post #4



Quote from name:TassadarZeratul
Wouldn't making sure the "Always order observers to their repsective players" triggers execute after the AI script do it?
I tested making the order be under player 8 (so it happens after player 7's ai script happens), and it didn't do anything. Apparently the ai script overrides any order happening in the same trigger cycle.

Quote from Falkoner
You could use another cloaked wraith owned by the computer, and just put it closer to the wraith, just outside of range, using Mobile Grids.
Hm. I think Mobile grids would screw up because there's almost always another flying unit it the general vicinity, and burrowed grids wouldn't work because half the map is unwalkable. Right?




None.

Aug 4 2009, 8:35 pm Falkoner Post #5



Quote
Hm. I think Mobile grids would screw up because there's almost always another flying unit it the general vicinity, and burrowed grids wouldn't work because half the map is unwalkable. Right?

Yeah, that may be a problem then :P Have you tried ordering the Observers AFTER running the AI? Also, giving them to another player may erase that AI from them.



None.

Aug 4 2009, 8:37 pm Madroc Post #6



Quote from Falkoner
Yeah, that may be a problem then :P Have you tried ordering the Observers AFTER running the AI? Also, giving them to another player may erase that AI from them.
I have tried ordering the observers after running the ai, as i said in my last post in response to TZ. I'll test giving them to another player and then ordering them. If that works that would be great. I'll post the results in a sec.




None.

Aug 4 2009, 8:43 pm Madroc Post #7



Darn. Doesn't work. Here's the very simple test map i made to test if you want to see but it's not very interesting. I don't think I'm doing anything stupid.

Any other ideas?


Attachments:
(1)Test1.scx
Hits: 0 Size: 39.64kb



None.

Aug 4 2009, 11:53 pm Madroc Post #8



NVM, figured it out. Just give the observers to neutral and Computer 8 will still attack them but the P7 AI script wont have any effect on them. Duh :wallbash:

I'm going to have to change about 100 triggers. Crap. Close please. And thanks for your help.




None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
Please log in to shout.


Members Online: Roy