Detecting when a Unit begins warping in

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:

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
    • Actions
      • setThirdPersonCamera(trainedUnit, ownerId)


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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top