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.
[12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
Please log in to shout.


Members Online: Oh_Man