- Joined
- Dec 22, 2005
- Messages
- 28
I've already got the basic single shot spell down it goes like this
Event-Specific unit event-Rifleman 001 finishes casting an ability
Conditions-Ability being cast equal to (Rifleshot DUmmy)
-Mana of (triggering unit) greater than 1
-Random integer from 1-1000 less than 999
Actions-
If Random integer from 1-1000 greater than 999
Then-display message to owner of (triggering unit) Rifle has jammed.
Else Order (Dummyunit001) to random point within (250) of target point of ability being cast
Order triggering unit to (gunshotRifle)(dummyunit001)
The shot is based off of shockwave with a very thin AoE and final area so its more realistic like a bullet being shot.
2 questions:
1. How would i make this burst fire (cast 3 times)
2. how would i make this full fire (continuous until ammo runs out)
If you have to do it in JASS because its impossible with triggers, i cant do it myself, if its trigger based you can just explain it and i can implement it a.s.a.p.
Event-Specific unit event-Rifleman 001 finishes casting an ability
Conditions-Ability being cast equal to (Rifleshot DUmmy)
-Mana of (triggering unit) greater than 1
-Random integer from 1-1000 less than 999
Actions-
If Random integer from 1-1000 greater than 999
Then-display message to owner of (triggering unit) Rifle has jammed.
Else Order (Dummyunit001) to random point within (250) of target point of ability being cast
Order triggering unit to (gunshotRifle)(dummyunit001)
The shot is based off of shockwave with a very thin AoE and final area so its more realistic like a bullet being shot.
2 questions:
1. How would i make this burst fire (cast 3 times)
2. how would i make this full fire (continuous until ammo runs out)
If you have to do it in JASS because its impossible with triggers, i cant do it myself, if its trigger based you can just explain it and i can implement it a.s.a.p.