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

Status
Not open for further replies.
Level 6
Joined
Feb 18, 2010
Messages
153
Well theres afew i cant seem to sort out


1. Every just say 5 minutes its picks one of the ppl ingame and gives them 10k

i have this one on but it sometimes dont give any gold to anyone
wanna make it so it only gives 1 person thats played by user and is ingame and alive

2. Slide Race: every lets say 3 minuts its picks 2 random ppl teleports one of them to one area and other one to another area and then they race from top to bottom and 1st to end winds 5k and it teleports them all base to there base

this i might beable to do just my texture will not let any unit slide on it

3. Arena every 10 minuts it picks 2 random ppl thle ports them to a area and they go 1v1 and the winner gets lets just say erm 25k and it teleports the winner back to base as other is dead will respawn there already


BTW its 1 person from each team not any 2 ppl
 
  • Zero
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Hashtable - Create a hashtable
      • Set Hash = (Last created hashtable)
  • Two
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to True
    • Actions
      • Hashtable - Save Handle Of(Sold unit) as (Key hero) of (Key (Owner of (Sold unit))) in Hash //Unit - Save Unit Handle
  • One
    • Events
      • Time - Every 300.00 seconds of game time
    • Conditions
    • Actions
      • Set Random = (Random integer number between 1 and 12)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Player(Random)) controller) Equal to User
          • ((Player(Random)) slot status) Equal to Is playing
        • Then - Actions
          • Set Hero = (Load (Key hero) of (Key (Player(Random))) in Hash)
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Hero is alive) Equal to True
            • Then - Actions
              • Player - Add 10000 to (Player(Random)) Current gold
            • Else - Actions
        • Else - Actions
This is for the first one. The rest are much to involve right now.
 
Status
Not open for further replies.
Top