• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,184
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