• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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