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

[Trigger] Need Help With Reloading Trigger

Status
Not open for further replies.
Level 19
Joined
Aug 24, 2007
Messages
2,888
base ability channel
set Follow Through Time to casting time you want

Event -> Unit - Generic Unit Event , Finishes casting an ability
Conditions -> Ability -> Ability Being Cast equal to channel
Actions -> Unit - Reset Ability Cooldowns for Event Response - Triggering Unit

no credit please
tell me if it doesnt work
 
Level 6
Joined
Feb 2, 2005
Messages
205
reloading guns? well how does your ammo system work? is it based on items (like afterlife)or on gold/lumber (like Notd)? or even something costume (like zombie rural)? Can you change the weapons or are they fixed to the hero?

Generally you will need one Trigger for every weapon you have in your map. Without knowing these details we can really help you out.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
To make more guns you need to store the current ammo for everygun in another variable I guess and these variables should be arrayed for everyplayer
In this part you can make an item that increases M4 ammo value for player who took the item or Make it when unit consumes item (uses ability I guess)

And for guns you can make 10 spells for changing guns and enable those spells by taking items and put guns to a spell book
OR
Make items for changing guns but in this part you should make something that disables attack when you dont have weapon

Things you asked not so easy anyway ask PurplePoot
I will try to make you a Tutorial for that if I can
 
Status
Not open for further replies.
Top