• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

PLEASE LAST TWO THINGS...

Status
Not open for further replies.
Level 2
Joined
Mar 17, 2020
Messages
8
I am almost done with dooing all the trigers for the map. Although I have two more questions.

1. I am dooing a non reforged map and I want to ask where is an option for me to switch to classic campaign editor.

2. Second thing is a help with a trigger. I want to ask for a trigger : After 840 seconds (there is a cinematic, (I already did the cinematic) ) but since 840 seconds, every 30 seconds 5 zombies will spawn at a region, however If a unit spawning the zombies will be killed (it only does the animation not actually spawns them), the zombies stop spawning.

Thank You
 
Level 12
Joined
Feb 5, 2018
Messages
521
  • Cinematic Trigger
    • Events
      • Time - Elapsed game time is 840.00 seconds
    • Conditions
    • Actions
      • -------- Your cinematic triggers --------
      • -------- After you run your triggers add this --------
      • Trigger - Turn on Zombie Spawn <gen>
  • Zombie Spawn
    • Events
      • Time - Every 30.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (YourUnit 0000 <gen> is alive) Equal to True
        • Then - Actions
          • -------- Play animations here --------
          • Unit - Create 5 Zombie for YourPlayer at (Center of YourRegion <gen>) facing Default building facing degrees
        • Else - Actions
Here is for number 2.
The zombie spawn trigger is Initially turned off.
 
1 - It should be in the world editor preferences.

2 -

  • CountDown
    • Events
      • Time - Elapsed game time is 840.00 seconds
    • Conditions
    • Actions
      • Trigger - Turn on Spawn Units <gen>
  • Spawn Units
    • Events
      • Time - Every 30.00 seconds of game time
    • Conditions
      • ((YourUnit) is alive) Equal to True
    • Actions
      • Set TempPoint = (Center of YourRegion)
      • Unit - Create 1 Zombie for Neutral Hostile at TempPoint facing Default building facing degrees
      • Custom script: call RemoveLocation (udg_TempPoint)

EDIT: lol, @DoomBlade beat me to it.
 
Status
Not open for further replies.
Top