• 🏆 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!

~2 triggers needed~

Status
Not open for further replies.
Level 1
Joined
Aug 31, 2006
Messages
2
m working on an arena type game but idk on how to make these triggers:

~Monster spawn. X amount of time X number of monsters come. X needs to be editable. and i need to be able to choose what monster(s) come.

~X numbers of monsters in arena, game is over.

thanx.
whoever helps get their name in the credits, in all versions.
 
Level 7
Joined
Dec 17, 2005
Messages
337
first, give all of the monsters 1 food cost. Then make this trigger:

Event: Neutral Hostiles Current Food becomes equal to or greater than: Your ammount of monsters.


Monster Spawn trigger:

Event: Every: 'variable time' seconds of game time.

Condition: w/e

Actions: Create 'Monster Ammount 'variable monster' for player 13 neutral hostile in region w/e.


Variables trigger:

Event: you choose (I generally use: time elapsed and then put multiple waits in this trigger for each wave.

Condition: None usually

Actions: Set Monster Ammount to: 10(example)
Set Variable Monster to: Skeleton Knight
Set Variable time to: 5 seconds
Wait one minute game time.
Set monster ammount to: 8 blablabla
 
Status
Not open for further replies.
Top