Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help with A Trigger
Help with A Trigger
Jul 21 2010, 3:01 pm
By: Cadia-  

Jul 21 2010, 3:01 pm Cadia- Post #1



I put a trigger to spawn a floor missile trap but it doesn't actually spawn does any one know why

the trigger i used:

Condition
Player 1 Kills at least 60 (Any Unit)

Actions
Create 1 Floor Missile Trap for Player 1 at Location 1
Display Text Message



None.

Jul 21 2010, 4:50 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

You can't create any unit not placeable as a unit in staredit in starcraft.

So no doodads (doors, traps), no unused units (cargo ship), no special heroes (mengsk), resource powerups (mineral chunk), subunits (alan turret), and other misc stuff (larvae, addons, eggs).



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

Jul 21 2010, 4:58 pm Azrael Post #3



What you can do is place the traps for P12, then give them to the player when they kill at least 60 units.

Edit: I just realized you said you can't create addons with triggers. You can.

Post has been edited 3 time(s), last time on Oct 12 2010, 12:25 pm by DevliN. Reason: Mineral abuse.




Jul 21 2010, 8:35 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

They're immediately given to player 12 or something like that. The net result is that you can't place them for player 1.



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

Jul 21 2010, 9:22 pm Azrael Post #5



Because they're not attached to a building, that's different than being unplaceable. The only issue with addons is that they can't be given to a player. The "create unit for player" works just fine, it's what happens shortly afterward that's the problem =P

Post has been edited 2 time(s), last time on Oct 12 2010, 12:00 pm by DevliN. Reason: Mineral abuse.




Jul 21 2010, 10:39 pm Lanthanide Post #6



Also, before you use a 'pre-placed' solution that involves moving floor traps: floor traps cannot be moved by "move unit" trigger action.

The ONLY way to move them is with arbiter recall. Thankfully you can use "AI cast recall here" script to control this how you want, however it takes ~14-15 death counts for the animation to play and you need an arbiter in the right spot etc, so it's not as clean as simply using "move unit" would be.



None.

Jul 21 2010, 11:11 pm Azrael Post #7



I did not know you can move traps with Recall, useful information.

Post has been edited 2 time(s), last time on Oct 12 2010, 12:00 pm by DevliN. Reason: Mineral abuse.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: Moose, Vrael