Azrooh
New Member
- Reaction score
- 5
So, I'm trying to make it so when you cast a spell the camera (of all players) pans to the place the spell was cast.
Instead, it pans to the center of the map and I can't figure out what's causing it.
Awesome, this works, thanks.
Instead, it pans to the center of the map and I can't figure out what's causing it.
Trigger:
- --Events:--
- Unit - A unit Finishes casting an ability
- --Conditions:--
- (Ability being cast) Equal to Force Cameras
- --Actions:--
- Set PowerPoint = (Target point of ability being cast)
- Region - Center CameraMoveRegion <gen> on PowerPoint
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Camera - Pan camera for (Picked player) to (Center of CameraMoveRegion <gen>) over CameraTime seconds
- Loop - Actions
- Custom script: call RemoveLocation (udg_PowerPoint)
Use starts the effect of an ability instead as an event.
The problem with the event that you are using is that when the event fires, "Target point of ability being cast" is already lost.
Awesome, this works, thanks.