Unit (peon) lumber carried

Avahor

New Member
Reaction score
0
hi guys
plz helpme in this question,
how get lumber carried by peon in jass?
i don´t found that order in the libraries..

thnks..
 

Avahor

New Member
Reaction score
0
uhm...
yes

i want to order a peon to gather wood and after that i want get the value of wood gathered by that peon before he give in the lumber mill..
=s it´s possible?
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
Well, the action "Unit - Replace", which works on pretty much any units, not just gold mines, uses this:
call SetResourceAmount(newUnit, GetResourceAmount(oldUnit))

There's probably a reason why it's there.
No idea if it actually works, but one can always try, can't one? :p
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top