PrisonLove
Hard Realist
- Reaction score
- 78
Hi, so basically I want to set a third person camera to a zealot once it begins warping from a warp gate. It doesn't work and I can't figure out why.
Here is my trigger:
The camera system works, as per other tests, and so does the setThirdPersonCamera() function. Is there a different event I should be using for units that warp in?
Edit: Also, when I used a debugging message, it never showed.
Here is my trigger:
Trigger:
- WarpInZealot
- Events
- Unit - Any Unit training progress is Started
- Local Variables
- trainedUnit = (Triggering progress unit) <Unit>
- ownerId = (Triggering player) <Integer>
- Conditions
- Or
- Conditions
- (Unit type of trainedUnit) == Zealot
- (Unit type of trainedUnit) == Zealot Baller
- Conditions
- Or
- Actions
- setThirdPersonCamera(trainedUnit, ownerId)
- Events
The camera system works, as per other tests, and so does the setThirdPersonCamera() function. Is there a different event I should be using for units that warp in?
Edit: Also, when I used a debugging message, it never showed.