| 03-05-2005, 09:03 PM | #1 |
Hello. Iam trying to make the Caster cast earthquake where iam casting starfall... But... when i start the startfall, the caster dont cast earthquake... Here the trigger.. where is my fault ? Code:
Nature Vengeance
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Nature Vengeance ( Nature Avanger )
Actions
Custom script: local location PointVar = GetUnitLoc(GetTriggerUnit())
Custom script: local player PlayerVar = GetOwningPlayer(GetTriggerUnit())
Custom script: call CasterCastAbilityAOELoc(PlayerVar, 'A005', "earthquake", PointVar, 1000, false, false )Note.: "Nature Vengeance" and the spell 'A005' are my custom spell based in Starfall and Earthquake... |
