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

random doodads in an area/ random doodads at certain spots

Status
Not open for further replies.
Level 25
Joined
Jul 10, 2006
Messages
3,315
Feel free to take at look at my method used in a TD and in the Dead Lab map in my signature.

It's quite simple:
- Loop through every tile in the map (set x = x + 128, do something, rerun trigger, set y = y + 128 if you reach the side of the map and reset x)
- At every location, give it a random terrain type and use chance to determine which (if any) doodad to spawn.

There are lots of different approaches you can take based on what you want to make.
 
Status
Not open for further replies.
Top