• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Triggers I've never understood.

Status
Not open for further replies.
Level 13
Joined
Apr 15, 2008
Messages
852

Greetings,


As the title said, I don't understand the triggers bellow.
Please explain them, cause it's usefull for other users too!

  • Triggers
    • Events
    • Conditions
    • Actions
      • Ubersplat - Destroy (Last created ubersplat)
      • -------- The whole Ubersplat thingy I don't understand... --------
      • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
      • -------- Cinematic Mode workz fine for me, but what does this? --------
      • Sound - Play (Last played sound)
      • -------- Never plays my sound, always has to do 3D sound. --------
      • Set OrderVariable = OrderVariable
      • Set RealVariable = RealVariable
      • Set StringVariable = StringVariable
      • -------- What is the function of the three above variables? What can it store? --------
      • For each (Integer A) from 1 to 10, do (Do nothing)
      • For each (Integer B) from 1 to 10, do (Do nothing)
      • -------- Right... --------
      • Animation - Change (Triggering unit) prop window angle to 0.00
      • Animation - Queue (Last created unit)'s stand animation
      • Animation - Change (Triggering unit) blend time to 0.00
      • -------- Animation madness... --------
      • Cinematic - Flash a speech indicator for (Last created unit) of color (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Cinematic - Disable occlusion for (All players)
      • Cinematic - Disable boundary tinting for (All players)
      • -------- Cinematic triggers, never seen 'em... --------
      • Unit - Suspend corpse decay for (Triggering unit)
      • Unit - Pause the expiration timer for (Triggering unit)
      • Unit - Turn collision for (Last created unit) Off
      • -------- I'm kinda... out of comments, just explain them! --------
      • Destructible - Set the occlusion height of (Last created destructible) to 128.00
      • -------- Occlu-what? --------
      • Game - If player (Squidle) joins the game force all other players to give all their resources to him and tell him: You're awesome, Mr Squidle!
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Set Squidle = Last joined user
        • Then - Actions
          • Player - Force everyone to +Rep Squidle and send him a nice PM
        • Else - Actions
          • Player - Ban the user who doesn't rep Squidle
      • -------- Do you guys have this triggers too? --------
REPUTATION
For the people who care, I give +Rep to any user who explained even just a single trigger.
Also if you tried to help, you get +Rep too.
If I somehow can't +Rep you today, I'll try it again tomorrow.
And if I forget to +Rep you, PM or VM me.

To users who disabled reputation, I'll just leave a friendly VM to them.


Thanks!​
 
  • Triggers
    • Events
    • Conditions
    • Actions
      • Ubersplat - Destroy (Last created ubersplat)
      • -------- The whole Ubersplat thingy I don't understand... --------
      • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
      • -------- Cinematic Mode workz fine for me, but what does this? --------
      • Sound - Play (Last played sound)
      • -------- Never plays my sound, always has to do 3D sound. --------
      • Set OrderVariable = OrderVariable
      • Set RealVariable = RealVariable
      • Set StringVariable = StringVariable
      • -------- What is the function of the three above variables? What can it store? --------
      • For each (Integer A) from 1 to 10, do (Do nothing)
      • For each (Integer B) from 1 to 10, do (Do nothing)
      • -------- Right... --------
      • Animation - Change (Triggering unit) prop window angle to 0.00
      • Animation - Queue (Last created unit)'s stand animation
      • Animation - Change (Triggering unit) blend time to 0.00
      • -------- Animation madness... --------
      • Cinematic - Flash a speech indicator for (Last created unit) of color (100.00%, 100.00%, 100.00%) with 0.00% transparency
      • Cinematic - Disable occlusion for (All players)
      • Cinematic - Disable boundary tinting for (All players)
      • -------- Cinematic triggers, never seen 'em... --------
      • Unit - Suspend corpse decay for (Triggering unit)
      • Unit - Pause the expiration timer for (Triggering unit)
      • Unit - Turn collision for (Last created unit) Off
      • -------- I'm kinda... out of comments, just explain them! --------
      • Destructible - Set the occlusion height of (Last created destructible) to 128.00
      • -------- Occlu-what? --------
      • Game - If player (Squidle) joins the game force all other players to give all their resources to him and tell him: You're awesome, Mr Squidle!
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • Set Squidle = Last joined user
        • Then - Actions
          • Player - Force everyone to +Rep Squidle and send him a nice PM
        • Else - Actions
          • Player - Ban the user who doesn't rep Squidle
      • -------- Do you guys have this triggers too? --------

Just posting your trigger............and nice spam about rep. It's pretty sad what people would do for it.

And it would be faster for you to TEST those actions. I don't see why anyone here needs to tell you what every action in the world editor does.

And no, I don't want your rep.
 
Hmh... Thank you >_<"

I just thought maybe someone could help me....
And yeah, some people are interested in reputation, So i'll notice I give it to them.
 
  • Triggers
  • Events
  • Conditions
  • Actions
  • Ubersplat - Destroy (Last created ubersplat)
  • -------- The whole Ubersplat thingy I don't understand... --------So i do but i think you dont need em----
  • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
  • -------- Cinematic Mode workz fine for me, but what does this? --------This will remove the onerface(mimap,unit description,the icons for ordes)over 2 seconds.Its a bit like cinematic mode but doesnt disable usercontrol----
  • Sound - Play (Last played sound)
  • -------- Never plays my sound, always has to do 3D sound. --------You have to save sound as a variable before----
  • Set OrderVariable = OrderVariable-saves a Order like Attack,move stop.Could be used the let other units repeat a order of a main unit
  • Set RealVariable = RealVariable-saves a number with coma zB 1.23 ,5.32, 343,34
  • Set StringVariable = StringVariable-saves text like "squiddle is awsesome"
  • -------- What is the function of the three above variables? What can it store? --------
  • For each (Integer A) from 1 to 10, do (Do nothing)
  • For each (Integer B) from 1 to 10, do (Do nothing)
  • -------- Right... --------that are loops.The will repaet something 10 times while using the integer A as a number.what you dont understand? YOu could o this= set hero lvl to integer A for 10 random heros. the frist will be lvl 1 the second lvl 2 and so on. loopy need a bit practise to understand but they help against copy and pasting lines----
  • Animation - Change (Triggering unit) prop window angle to 0.00-i swear thats useless
  • Animation - Queue (Last created unit)'s stand animation-useless with stand animation cause a unit play its stand animation anyway.You may use this with lets say Attack aniamtion to make a unit attack the air all the time.This is could be used for spells.
  • Animation - Change (Triggering unit) blend time to 0.00-so far as i know this is how fast parts of the model of the unit could change thier dirction.This may could be used to simulate fast acck aniamtions but im not sure
  • -------- Animation madness... --------
  • Cinematic - Flash a speech indicator for (Last created unit) of color (100.00%, 100.00%, 100.00%) with 0.00% transparency-never heard never used
  • Cinematic - Disable occlusion for (All players)-never heard never sued
  • Cinematic - Disable boundary tinting for (All players)-makes the boundarys black like you watching a movie
  • -------- Cinematic triggers, never seen 'em... --------
  • Unit - Suspend corpse decay for (Triggering unit)-use this on a dead unit to let his corpse stay forever
  • Unit - Pause the expiration timer for (Triggering unit)-use this on a summon to stop the timer till its die(makes a summoned unit life forever)
  • Unit - Turn collision for (Last created unit) Off-After using this the unit is able to go trough everything like other units trees buildings.
  • -------- I'm kinda... out of comments, just explain them! --------
  • Destructible - Set the occlusion height of (Last created destructible) to 128.00
  • -------- Occlu-what? --------thats something like a flying height-if you put in 1000 the doodad will fly 1000 over the floor.
  • Game - If player (Squidle) joins the game force all other players to give all their resources to him and tell him: You're awesome, Mr Squidle!
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • If - Conditions
  • Set Squidle = Last joined user
  • Then - Actions
  • Player - Force everyone to +Rep Squidle and send him a nice PM
  • Else - Actions
  • Player - Ban the user who doesn't rep Squidle
  • -------- Do you guys have this triggers too? --------
 
  • Triggers
  • Events
  • Conditions
  • Actions
  • Ubersplat - Destroy (Last created ubersplat)
  • -------- The whole Ubersplat thingy I don't understand... --------So i do but i think you dont need em----
  • Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 2.00 seconds
  • -------- Cinematic Mode workz fine for me, but what does this? --------This will remove the onerface(mimap,unit description,the icons for ordes)over 2 seconds.Its a bit like cinematic mode but doesnt disable usercontrol----
  • Sound - Play (Last played sound)
  • -------- Never plays my sound, always has to do 3D sound. --------You have to save sound as a variable before----
  • Set OrderVariable = OrderVariable-saves a Order like Attack,move stop.Could be used the let other units repeat a order of a main unit
  • Set RealVariable = RealVariable-saves a number with coma zB 1.23 ,5.32, 343,34
  • Set StringVariable = StringVariable-saves text like "squiddle is awsesome"
  • -------- What is the function of the three above variables? What can it store? --------
  • For each (Integer A) from 1 to 10, do (Do nothing)
  • For each (Integer B) from 1 to 10, do (Do nothing)
  • -------- Right... --------that are loops.The will repaet something 10 times while using the integer A as a number.what you dont understand? YOu could o this= set hero lvl to integer A for 10 random heros. the frist will be lvl 1 the second lvl 2 and so on. loopy need a bit practise to understand but they help against copy and pasting lines----
  • Animation - Change (Triggering unit) prop window angle to 0.00-i swear thats useless
  • Animation - Queue (Last created unit)'s stand animation-useless with stand animation cause a unit play its stand animation anyway.You may use this with lets say Attack aniamtion to make a unit attack the air all the time.This is could be used for spells.
  • Animation - Change (Triggering unit) blend time to 0.00-so far as i know this is how fast parts of the model of the unit could change thier dirction.This may could be used to simulate fast acck aniamtions but im not sure
  • -------- Animation madness... --------
  • Cinematic - Flash a speech indicator for (Last created unit) of color (100.00%, 100.00%, 100.00%) with 0.00% transparency-never heard never used
  • Cinematic - Disable occlusion for (All players)-never heard never sued
  • Cinematic - Disable boundary tinting for (All players)-makes the boundarys black like you watching a movie
  • -------- Cinematic triggers, never seen 'em... --------
  • Unit - Suspend corpse decay for (Triggering unit)-use this on a dead unit to let his corpse stay forever
  • Unit - Pause the expiration timer for (Triggering unit)-use this on a summon to stop the timer till its die(makes a summoned unit life forever)
  • Unit - Turn collision for (Last created unit) Off-After using this the unit is able to go trough everything like other units trees buildings.
  • -------- I'm kinda... out of comments, just explain them! --------
  • Destructible - Set the occlusion height of (Last created destructible) to 128.00
  • -------- Occlu-what? --------thats something like a flying height-if you put in 1000 the doodad will fly 1000 over the floor.
  • Game - If player (Squidle) joins the game force all other players to give all their resources to him and tell him: You're awesome, Mr Squidle!
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
  • If - Conditions
  • Set Squidle = Last joined user
  • Then - Actions
  • Player - Force everyone to +Rep Squidle and send him a nice PM
  • Else - Actions
  • Player - Ban the user who doesn't rep Squidle
  • -------- Do you guys have this triggers too? --------


Slayer... YOU'RE AWESOME!
Thank you so much for this!
 
I tried this action:
Ubersplat - Create ubersplat at (Player 1 (Red) start location) of type Goldmine with color (100.00%, 100.00%, 100.00%) and 0.00% transparency (Disable paused state, Disable skipping birth time)

And it did nothing :/
 
Aha, thanks debode!

But could you make an example trigger for it, please?
Also with the loop thingy (Integer A), please.
 
Occluder/Occlusion Height has to do with how objects block vision versus short or tall units.

Propulsion Window is the range of angles a unit can hit a target at: for example, a unit with a propulsion window of 15.00 facing 75.00 degrees can hit units from 60.00 to 90.00 degrees relative to itself without turning (Or I may have this wrong and it would be 82.5/67.5, but I'm pretty sure it's one-sided and not two-sided).

Speech Indicators are just the flashing white selection circles used in cinematics to notify the user who is talking.

Blend Time is the time during which a unit will transition from the ending keyframe of one animation to the starting keyframe of the next to make otherwise choppy transitions look smooth; for example, a footman "lying down" (playing its death animaion) with a blend time of 0.00 would appear to teleport up if Stand was played, but rise up if the blend time was 1.00.
 
Ubersplat are those *.blp images left on the ground once a certain effect takes place.
For example, the circle that is left on the ground (and displays in the fog of war) after a unit casted Mass Teleport, that is an ubersplat. To make an ubersplat, create it at the point you desire and then do "Ubersplat - Change (Last created ubersplat): Enable render always state". Each ubersplat has a default specified duration, which cannot be changed, but you can do the trick of "Ubersplat - Create ubersplat at Point of type Undead Uber Splat with color (100.00%, 100.00%, 100.00%) and 0.00% transparency (Enable paused state, Disable skipping birth time)", while you destroy it whenever you want with the action: "Ubersplat - Destroy (Last created ubersplat)". Here is a test map: View attachment Ubersplats.w3x
I thought ubersplats were those huge paint looking things that popup on ur screen...
That is the "Cinematic - Fade out and back in over 2.00 seconds using texture Splatt! and color (0.00%, 0.00%, 0.00%) with 0.00% transparency" action ;)
 
Status
Not open for further replies.
Back
Top