Hi, i've been working on an item so that when you pick it up it will increase the damage you deal when you use any of three other items.
the item is based of the Danger Close perk from C.O.D.
basically when you pick up the item it sets a variable to true, all i really need is to work out how to cause the triggering unit to deal 10 damage in a area of 500 or so around the TARGET AREA WHERE THE ITEM IS CAST ON.
(the item uses a spell eg.Stormbolt)
I just want to replace "Centre of (Playable map area)" with the location where the items is cast upon, but i have no idea how to do it.. anyone know?
Any help would be much appriciated, thanks for you time
the item is based of the Danger Close perk from C.O.D.
basically when you pick up the item it sets a variable to true, all i really need is to work out how to cause the triggering unit to deal 10 damage in a area of 500 or so around the TARGET AREA WHERE THE ITEM IS CAST ON.
(the item uses a spell eg.Stormbolt)
Trigger:
- Danger Close 2
- Events
- Unit - A unit Uses an item
- Conditions
- Or - Any (Conditions) are true
- Conditions
- (Item-type of (Item being manipulated)) Equal to Fragmentation Grende
- (Item-type of (Item being manipulated)) Equal to RPGx2
- (Item-type of (Item being manipulated)) Equal to Flamethrower
- Conditions
- Or - Any (Conditions) are true
- Actions
- Unit - Cause (Triggering unit) to damage circular area after 0.00 seconds of radius 500.00 at (Center of (Playable map area)), dealing 100.00 damage of attack type Spells and damage type Normal
- Events
I just want to replace "Centre of (Playable map area)" with the location where the items is cast upon, but i have no idea how to do it.. anyone know?
Any help would be much appriciated, thanks for you time