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

[Trigger] River Rune Trigger

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
Look for tutorials y you don't understand parts of this:

1. Create a rune item-type array (To store the type of runes you'll have)
2. Create a rune boolean array (Set to true if the rune is ON, set to false if rune has been picked)
3. Create a real array with X/Y of both rune locations.
4. Create a repeating timer that every 35 seconds checks if RuneBoolean is true/false. If It's true do nothing, if it's false, create the new rune (Random integer from 0 to MaxRunes of RuneArray) on the random X/Y stablished in the Real Array, and set RuneBoolean true.
5. When rune is picked, set RuneBoolean to false.

Additional:

6. Learn English.
 
Status
Not open for further replies.
Top