3rd person trigger

  • Thread starter Thread starter CMEPTb
  • Start date Start date
C

CMEPTb

Guest
how to make a trigger that has 3rd person camera mode like in legacies tides of serpent
 
First Create a real variable named ANGLE.
And a camera anywhere on the map, with similar properties:

Name: ThirdPersonCam
Target Z: 70
Angle of Attack: 350.00
Distance: 400
Field of View: 100.00
(you dont have to edit the other properties)

Now, create two triggers and name them DegreeCheck and
LockCamera

In LockCamera you make these actions:

EVENT
Map Initalization

CONDITIONS

ACTIONS
Camera - Lock camera target for Player 1 (Red) to Footman 0001, offset by (0.00, 0.00) using Default rotation

In DegreeCheck you make these actions:

EVENT
Time - Every 0.50 seconds of game time

CONDITIONS

ACTIONS
Set ANGLE = (Facing of Footman 0001)

Camera - Set Player 1 (Red)'s camera Distance to target to (Distance to target of ThirdPersonCam <gen>) over 1.00 seconds

Camera - Set Player 1 (Red)'s camera Field of view to (Field of view of ThirdPersonCam <gen>) over 1.00 seconds

Camera - Set Player 1 (Red)'s camera Height Offset to (Height Offset of ThirdPersonCam <gen>) over 1.00 seconds

Camera - Set Player 1 (Red)'s camera Rotation to Angle over 1.00 seconds

Camera - Set Player 1 (Red)'s camera Angle of attack to (Angle of attack of ThirdPersonCam <gen>) over 1.00 seconds


Thats it, now when you Test the map you will see the "Footman 0001" in third person view and the camera will follow him from behind.
 
in free trigger code i didnt quite get it how to make it
how you do that all units of player 1 red will have this abillity even after hero select
 
I would not use the "lock camera orientation to unit" action. It makes the camera too annoying.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Real users can't really disable Javascript anymore these days.
  • Ghan Ghan:
    The internet is broken without it.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top