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

Bank System

Status
Not open for further replies.
Level 4
Joined
Oct 4, 2012
Messages
80
How can i make bank system so i can deposit/withdraw gold/lumber, but my hero needs to be in specified region to do that..
i hope you understand me.. English isn`t my primary language so...
 
Level 4
Joined
Oct 4, 2012
Messages
80
tnx,+ rep, i have another question, how can i make boss system(boss needs to spawn at region, 30mins after game started, and he needs to spawn every 15-20min)
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,183
well to make it as simple as possible you can use waits if its single player. something like this would work.
  • spawn
    • Events
      • Time - Elapsed game time is 1800.00 seconds
    • Conditions
    • Actions
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
      • Set boss = (Last created unit)
  • respawn
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Triggering unit) Equal to boss
    • Actions
      • Wait 900.00 seconds
      • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
      • Set boss = (Last created unit)
if you want it to be multiplayer I got to show a more advanced trigger
 
Status
Not open for further replies.
Top