how do i get it to where every X seconds of game time it retrieves a player position, and then if a unit casts X spell then the camera locks to last known player position?
edit: fixed THANK YOU SO MUCH FOR THE HELP!!
when i cast this spell, it removes the unit and then places it and recreates the unit a bit ahead of where it removed it, so when a camera is locked on to the unit it resets itself back the spawn point of the unit....
edit: fixed THANK YOU SO MUCH FOR THE HELP!!
Trigger:
- leap of faith
- Events
- Unit - A unit Begins casting an ability
- Conditions
- (Ability being cast) Equal to Leap of Faith
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- NormalCamera[1] Equal to False
- (Triggering unit) Equal to Ninja 0001 <gen>
- Then - Actions
- Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
- Set NormalCamera[1] = True
- Wait 1.00 seconds
- Camera - Apply Cam Follow <gen> for Player 1 (Red) over 0.00 seconds
- Set NormalCamera[1] = False
- Else - Actions
- Do nothing
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events