Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Interceptor Problem
Interceptor Problem
Jan 21 2010, 3:52 am
By: Newb  

Jan 21 2010, 3:52 am Newb Post #1



I've been trying to move an interceptor to a location, then make it go somewhere. But it goes straight back to the ship... I did the set generic command and make unit patrol. It would be nice if someone could probably just give a full explanation on how to do this trick, because I am obviously clueless.



None.

Jan 21 2010, 3:56 am Falkoner Post #2



You use Set Generic Command Target where you want it to go, and then center a location on the interceptor(make sure that location is at least a fine grid-size in SCM Draft, pixel sized locations won't work), and run the Make These Units Patrol AI, you may have to repeat the second AI a few times, recentering the location each time, before the Interceptor will finally take the order, and after that it doesn't need to be given the order constantly, but you can if you so choose. Note that the Make These Units Patrol script doesn't just effect the interceptor, any other units hit with the AI will also attempt to go to the Generic Command Target, so be careful when using it with the Interceptor around other units.



None.

Jan 21 2010, 4:05 am Newb Post #3



That's already what I have ( I believe )
Well this is what my trigger looks like

The Interceptor Moves to location B, and is supposed to go to location A

Trigger("Player 2"){
Conditions:
Bring("Player 2", "Protoss Interceptor", "Int" At least, 1);

Actions:
Run AI Script At Location("StTg", "A");
Run AI Script At Location("StPt", "B");
Preserve Trigger();
}

//-----------------------------------------------------------------//

Post has been edited 1 time(s), last time on Jan 21 2010, 4:27 am by Newb.



None.

Jan 21 2010, 4:47 am Falkoner Post #4



I would try actually centering a location on the interceptor a few times, and rather than resetting the generic command target each time, set it once, and simply center a location on the interceptor and run the Make These Units Patrol AI on the interceptor repeatedly.



None.

Jan 21 2010, 5:09 am UnholyUrine Post #5



What's happening is probably the endogenous "attack" ai is overriding your triggered AI...

Is the Comp Player which you are using for the interceptors unallied with any uninvincible units that may be near where you're moving the interceptors?

... Basically, if the interceptor sees any attackable units, it'd wanna attack it... but since it's too far from the carrier, it will go back to the carrier first.



None.

Jan 21 2010, 10:06 pm Newb Post #6



I'm not for sure if the location centering would work because I need about 10 interceptors to spawn around the same area, at the same time. Do you know how I could do it?



None.

Jan 21 2010, 10:13 pm Falkoner Post #7



Well, if you can also just use a larger location, or the Anywhere location, but as I said, you have to be careful about it affecting other units.



None.

Jan 21 2010, 10:36 pm Newb Post #8



Ohhh... Well that just won't work then I guess. With a chance of it effecting other units isn't worth the chance since it'd ruin it. Considering I'm using P1-P8 in the game. I guess I'll have to use scorges since they are also fast, just not 'as' fast.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy