• 🏆 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!
  • ✅ HD Level Design Contest #1 POLL is now OPEN! Check out the stunning visuals of the final entries. 🔗Click here to cast your vote!

How to... too long for title

Status
Not open for further replies.
Level 2
Joined
Mar 18, 2015
Messages
11
Hi again,
i want to implement kind of mining camps in my map, but dunno how to do it with WE... :(

short explination, a mining camp is something like a mine or a sawmill with some workers...and they start to work, as soon as a player conquered it. after the player has done this, he gets 5 gold every 10 seconds for example...
same for a Lumbercamp.

any Ideas?

greetings tonnes :)
 
Level 9
Joined
Apr 23, 2011
Messages
527
this should be in world editor help zone
assuming you've already done the control point system...

make an integer array and if a player has conquered the mining camp add 1 to the integer[player number of owner of mining camp], then you can make a trigger that runs every 10 seconds and make a loop from 1 to (number of max players) that adds (5 x integer[player number]) gold to the player.
 
Level 2
Joined
Mar 18, 2015
Messages
11
Ok 1st point,
Thx for answering and sorry for wrong forum... :D

i will try it as u two said, if i need help i will write again under this post.

But great thanks to you guys :)
 
Status
Not open for further replies.
Top