- Joined
- Aug 29, 2015
- Messages
- 7
I'm trying to make a spell based on forked lightning, but the damage is based on stats.
Does somebody know how to get units in a cone?
Does somebody know how to get units in a cone?
Dr Super Good said:
There is literally an entire page of google results just of threads of people asking this exact question on THW. As always, consider collision size if you want to.
hahaha
Cone
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Forked Lightning Mage
Actions
Set UnitGroup_FL_Targets[Integer_FL_Index] = (Units within 600.00 of Point_FL_Caster[Integer_FL_Index] matching ((((Angle from Point_FL_Caster[Integer_FL_Index] to Point_FL_Target[Integer_FL_Index]) Greater than or equal to 45.00) and ((Angle from Point_FL_Caster[Integer_FL_Index] to Point_FL_Target[Integer_FL_Index]) Less than or equal to 135.00))
EDIT:
is this possible?