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

Relode System

Status
Not open for further replies.
Level 1
Joined
Oct 28, 2006
Messages
3
Hi all this is my firts topick here and i think that it wont be my last , so however.Right now im making my map and its like 50-60 % done but i realized i dont have a relode sistem to give my map the realy cool feeling to relode a gun and so.If anyone has played NOTD knows that im talking about so i decidet to ask here for some help.I think every thing must be trigered,right? if anyone can give me some info how can i do that plz post.

TNX in advance :D

Ps:eek:h And i woud like to know how to make A cool interface that shows gold = amonition and wood = Clips :)
 
Level 6
Joined
Mar 29, 2004
Messages
222
Total: 4 triggers (@_@)

Reload Init
Events
Time - Elapsed 2.00 Seconds
Actions
Set BulletsReal = 12.00
=============================================
Reload A
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Shoot
Actions
Set BulletsReal = BulletsReal - 1.00
=============================================
Reload B
Events
Unit - A unit Begins casting an ability
Conditions
And - All (Conditions) are true
Conditions
(Ability being cast) Equal to Shoot
(BulletsReal) Equal to 1.00

Actions
Unit - Remove ShootAbility from (Triggering unit)
Unit - Add Reload to (Triggering unit)
===============================================
Reload C
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Reload
Actions
Unit - Remove Reload from (Triggering unit)
Unit - Add ShootAbility to (Triggering unit)
Set BulletsReal = 12.00

Its late, ill make it look prettier when i get back up (4 triggers is ugly, i know
 
Status
Not open for further replies.
Top