• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Gold Tower

Status
Not open for further replies.
Yes,
and i want that, the gold will added will be the 50% of the unit gold bounty awarded of the dying unit..
sorry for the wrong grammar.. :)
if the unit killed,
have bounty awarded by 4,
which is killed by the Gold Tower, the killing tower Adds additional 50% of the unit award which is 2 from the owner of (Killing Unit)

all i can see is this bounty award :

  • If ((Unit-type of (Triggering unit)) Equal to Footman) then do (Player - Add 1000 to Player 1 (Red) Current gold) else do (Do nothing)
 
I think there is no way to do that
because Gold Bounty Award value can only customized from Object Editor

if there is any way to check its value, maybe this can be done
or find a Custom Bounty Award system that made by trigger, then maybe this can also be done

I can be wrong though :)

i saw on the other map, that
also they put on the description that,
" If This Tower Kills a unit, add additional 50% of gold"
and when they Upgrade
"Add Additional 100% of Gold "
 
Rheiko is right.
Under no possibility one can access bounty at Object Editor.
However, it's possible by using Hashtables (easy and not too complicated) or Unit User Data.
You need to index all the bounty data in an initialization trigger then have a core system controlling all the values. I can't explain it in details yet.
 
Rheiko is right.
Under no possibility one can access bounty at Object Editor.
However, it's possible by using Hashtables (easy and not too complicated) or Unit User Data.
You need to index all the bounty data in an initialization trigger then have a core system controlling all the values. I can't explain it in details yet.

like Element TD Gold Tower ?
That trigger was the one i want to make.
 
Last edited:
Assuming that Gold Tower can be upgraded, I have created a test map that you can configure all of the settings at the setup trigger.

If you have any questions, feel free to ask :)

Basically what you need to do is just set GT_UnitType and GT_OriginalBounty for each unit, and after it has been set for one unit, you need to run the Run GT Save <gen> trigger for system registration.
Then, rinse and repeat for next unit.

Remember, once you have conform to use this system, you need to set all units' bounty in this trigger only (which means bounty from Object Editor should be set to 0).
 

Attachments

Assuming that Gold Tower can be upgraded, I have created a test map that you can configure all of the settings at the setup trigger.

If you have any questions, feel free to ask :)

Basically what you need to do is just set GT_UnitType and GT_OriginalBounty for each unit, and after it has been set for one unit, you need to run the Run GT Save <gen> trigger for system registration.
Then, rinse and repeat for next unit.

Remember, once you have conform to use this system, you need to set all units' bounty in this trigger only (which means bounty from Object Editor should be set to 0).

This is what i want ! Thanks bro, +Rep
 
Status
Not open for further replies.
Back
Top