Shadowy Fear
I have returned
- Reaction score
- 44
Hmm, for my as-of-now undisclosed WIP, I decided to create a third-person perspective, eye-level camera. As creating one for each of the ten players would be laggy and redundant, I decided to loop it all into one trigger. The trouble is, it crashes the whole game now. Can anyone explain why/fix the problem?
This is the variable setting trigger (only have player one - red set right now).
This is the trigger that does the camera.
Any help would be appreciated :>) Or at least what I have done wrong here.
Oh, and I am going to change the paladin; each player will recieve a custom hero of mine (and a randomly picked one of those will have an extra, custom ability).
This is the variable setting trigger (only have player one - red set right now).
Code:
E:Time - Game Time Elapsed is 0.00 seconds
C: N/A
A: Set PlayerCameraTarget[1] = Paladin 0001 <gen>
This is the trigger that does the camera.
Code:
E: Time - Every 0.6 seconds of game
C: N/A
A:Camera - Pan camera for (Player((Integer A))) to (Position of PlayerCameraTarget[(Integer A)]) over 0.10 seconds
Camera - Set (Player((Integer A)))'s camera Distance to target to 450.00 over 0.10 seconds
Camera - Set (Player((Integer A)))'s camera Angle of attack to 80.00 over 0.10 seconds
Camera - Set (Player((Integer A)))'s camera Height Offset to (10.00 + (Current flying height of PlayerCameraTarget[(Integer A)])) over 0.10 seconds
Camera - Set (Player((Integer A)))'s camera Rotation to (Facing of PlayerCameraTarget[(Integer A)]) over 0.10 seconds
Oh, and I am going to change the paladin; each player will recieve a custom hero of mine (and a randomly picked one of those will have an extra, custom ability).