• 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.

how can i make an ability create resources

Status
Not open for further replies.
A instant cast which can be autocast. An example is the protective field of senteries which activates immediatly.

Yeah, that.
If you want one ability to give resources based on energy used (and not using autocast) I think you'll need to use triggers.
Otherwise you can create say.. 10 abilities (one for each % of energy the unit has) and just enable them as the unit has more energy and disable them as the unit loses energy.
Make the more expensive one have a higher command card priority..

Though 10 abilities doesn't really sound practical.
Just some ideas =P
 
Level 21
Joined
Mar 2, 2010
Messages
3,069
it needs to be 1 ability. the trigger editor is a lost cause though. it have much less power than the warcraft 3 trigger editor though the data editor might be more advanced than the object editor. i want the ability to give the using player resources based on energy spent and activate after energy reach 10.
 
Level 3
Joined
May 18, 2010
Messages
29
I'm still uncertain what you're looking for exactly. You have to give more details as to how you want the ability to function, it has an impact on the advice you're going to get.

Either way, I threw together this example map that has a Give Minerals ability. It gives a varying amount of minerals depending on the mana of the caster and charges the respective amount of energy.

10 Mana -> 10 Minerals
20 Mana -> 25 Minerals
30 Mana -> 45 Minerals
40 Mana -> 70 Minerals
50 Mana -> 100 Minerals

Hope this helps you.
 

Attachments

  • GiveMineralsAbility.SC2Map
    20.5 KB · Views: 46
Status
Not open for further replies.
Top