Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Spells, usuall stuff ;)
Spells, usuall stuff ;)
Sep 14 2008, 1:35 pm
By: Saox  

Sep 14 2008, 1:35 pm Saox Post #1



Hi!

I made this thin several times in the past, but now I just forgot how to get this to work.

There is a map, where you pick a spell / level and you pick it by moving a DT to a beacon. Then you have your spell casting shuttle somewhere in the corner. I want spells to fire whenever a unit is unloaded from the shuttle, and I don't want the spell to fire in the moment when I pick the spell(it creates the unit and imidiatly loads it up). How to avoid problems like theese ?

I know the first thin to fire a spell has to do with the elevations. The terrain underneath the shuttle is plain snow(not high snow) and short: the second problem after I get this first fixed is how to make this smart, so that picking a spell won't fire it?



None.

Sep 14 2008, 3:35 pm Falkoner Post #2



You need to turn off your spell detection for a second when they pick their spell to go into the dropship, I would turn it off until there are no units on ground elevation, then turn it back on. This way the spell won't be detected until it gets into the dropship.



None.

Sep 14 2008, 4:32 pm Saox Post #3



Hi!

Yep, that sounds like a good plan, but how should the location on the shuttle be selected? I mean all thoose elevations low,mid,high ground and low mid high air to detect only ground units? I have all the grounds selected but it does not detect my spells, did I make an mistake?



None.

Sep 14 2008, 4:46 pm Psionic_Storm Post #4



First of all, the Enter Transport AI is run for the units that are going to enter the shuttle. Thus, you must set the shuttle's location to ground-only.

EDIT: If it still doesn't work, check if the shuttle's location is 1 pixel wide/high. AIs can't be run at such locations.

Quote from Falkoner
You need to turn off your spell detection for a second when they pick their spell to go into the dropship, I would turn it off until there are no units on ground elevation, then turn it back on. This way the spell won't be detected until it gets into the dropship.

If you are making your triggers in the correct order, you won't be in need for such thing. If you make a trigger that casts a spell if there is a unit at the shuttle's location, you can run the Enter Transport AI in the very same trigger, as well as the spell's effects. One trigger loop is enough time for the unit to be loaded in the transport. Therefore, you should place the spells' learn trigger after the cast trigger, and run the AI script straightaway as learning a spell. By the time the cast trigger is calculated, the unit is already in the shuttle.

Post has been edited 1 time(s), last time on Sep 14 2008, 5:01 pm by Psionic_Storm.



None.

Sep 15 2008, 10:30 am Saox Post #5



Hi Psi!

Good to see you again round here.

Your answer was not the answer to my problem, I solved it already btw ;). You wrote basics on how to use AI, and that is what I know. Please do not treat me as a complete beginner, remember who introduced a few things into your map making skills? ;).
I'm working on a map I've been dreaming about for 4 years now, and thanks to this site I'm getting closer to my goal.

Solved basicly, await future questions ;)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:16 am]
NimoStar -- ever wanted to play melee in installation tileset? Now you can https://staredit.net/topic/18929/
[02:29 am]
Symmetry -- TFW you google a problem and find the answer in a post you made yourself
[01:46 am]
Oh_Man -- How can i change my name here to put [TFE] on the end will thr website let me
[2026-9-10. : 6:02 pm]
Zoan -- of course it isn't full understanding. You could ask "is the mechanism by which this counterexample blows up the ONLY mechanism possible for an initial configuration to blow up?"
[2026-9-10. : 5:48 pm]
Zoan -- ppl do it all the time in PDEs
[2026-9-10. : 5:47 pm]
Zoan -- Heinermann
Heinermann shouted: it also didn't solve that problem but hey as long as the investors are pleased
Constructing a counterexample is answering the question: "Is Navier Stokes well posed?" in the negative
[2026-9-10. : 5:44 pm]
NudeRaider -- I only heard about it, didn't any news article, so what did it do then?
[2026-9-10. : 5:43 pm]
Heinermann -- it also didn't solve that problem but hey as long as the investors are pleased
[2026-9-10. : 5:39 pm]
NudeRaider -- I have no idea tbh. All I know no human was ever able to solve it, but there's at least a few that beat portal ;)
[2026-9-10. : 5:32 pm]
Zoan -- Navier Stokes is not that esoteric I thought
Please log in to shout.


Members Online: Wing Zero, Zoan