Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Making an air unit un-movable
Making an air unit un-movable
Feb 16 2010, 6:46 pm
By: RetPallylol  

Feb 16 2010, 6:46 pm RetPallylol Post #1



Hi guys, I'm trying to implement a drop ship inventory system. I need the ship to be bound to one spot. I have tried the "Move Unit" trigger onto the same spot with the preserve trigger, but I can still move it by clicking really fast. It ends up back in the original position due to the move unit trigger, but I've seen maps with this kind of system where I couldn't even get the drop ship to move an inch. I think I saw it in the "Dungeon Raiders" map.

Thanks so much for the help guys.



None.

Feb 16 2010, 6:51 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

Use hyper triggers. Check the wiki.

Use an inverted location to detect when the dropship has moved 1 pixel, then move it back so you have no chance of lag.

Move the dropship to a location off the map (can probably still force the dropship to move a bit, not ideal).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Feb 16 2010, 6:52 pm CecilSunkure Post #3



You probably need hyper triggers, since the person playing can order the dropship faster than the trigger cycling.

http://www.staredit.net/?p=tutorials&tut=17

Hyper triggers will allow your triggers to fire faster than a person should be able to order the dropship away.

[Edit]Lol, you probably don't want to mess with inverted locations.



None.

Feb 16 2010, 7:09 pm RetPallylol Post #4



Ahh thank you very much gents. Time to learn hyper triggers.



None.

Feb 16 2010, 8:09 pm rockz Post #5

ᴄʜᴇᴇsᴇ ɪᴛ!

It's VERY simple. Be warned, though. They make all your triggers run faster, and can cause wait blocks, so here's a few tips: Use [wiki]death counters[/wiki] to slow the trigger down and in place of any wait you might have. If you have triggers preserved, they will run 12 times a second, rather than once every 2 seconds (approx).



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 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
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: IlyaSnopchenko