3rd Person CAM HELP HELP

wilze

Active Member
Reaction score
3
Camera Help

How can i create a camera witch follows the hero from behind(like WOW camer for examlpe). Plz no jass/GUI cause i dont know that stuff.

Wilze:shades:
 

wilze

Active Member
Reaction score
3
Camera Help Pt.2!!!

posted this before but didnt get any propper awnsers.
i wanna make a third-person camera witch follows the unit from behind(like Wow Camera). this is the trigger im using but it dosent follow the unit from behind...

Code:
Turn On Cam
    Events
        Unit - A unit enters Region 007 <gen>
        Time - Every 0.02 seconds of game time
    Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
    Actions
        Camera - Set Player 1 (Red)'s camera Rotation to (Facing of (Last created unit)) over 0.25 seconds
        Camera - Lock camera target for Player 1 (Red) to (Entering unit), offset by (0.00, 0.00) using Default rotation
 

The Undaddy

Creating with the power of rage
Reaction score
55
A unit enters a region only once.In order for it to enter twice first it must exit the region.
 

Choppa

www.warcraft-gamers.po.gs
Reaction score
59
It's because of your condition, I bet, that the camera will face the angle of your unit everytime you walk in that region but not every 0.27 seconds, ther condtion has no realivance to a periodic timer, or are you trying to do something like if a unit is in that region then do that other shit... If that's the case then do you action Every blah blah seconds then in the condtion do something like
Code:
Condition - Boolean - Region Contains Position of Unit equal to True
OR
Code:
Condition - Region - Unit in region

I don't even know if I got the second one right but it'd be better to use the second one, there is something like that so try find it.
 

wilze

Active Member
Reaction score
3
Ok here we go. Im want a 3rd person camera(like WoW cam). Its Suppose to be atatched to the heroes and follow them from behind. this is the triggers ive done

PHP:
Turn Off Cam
    Events
        Map initialization
    Conditions
    Actions
        Trigger - Turn off Turn Off Cam <gen>
PHP:
Turn on Cam trigger
    Events
        Unit - A unit enters Region 007 <gen>
    Conditions
        (Owner of (Entering unit)) Equal to Player 1 (Red)
    Actions
        Trigger - Turn on thirdperson cam <gen>
        Unit Group - Add (Entering unit) to CameraP1
PHP:
thirdperson cam
    Events
        Time - Every 0.02 seconds of game time
    Conditions
    Actions
        Camera - Set Player 1 (Red)'s camera Rotation to (Facing of (Random unit from CameraP1)) over 0.25 seconds

ok this is my problem. The camera rotates so its faceing the same way as the unit. but it dosent follow the unit...(stays at the same spot=dosent move). sry for my english. Ive tryed to add
PHP:
Lock Camera
    Events
    Conditions
    Actions
        Camera - Lock camera target for Player 1 (Red) to (Entering unit), offset by (0.00, 0.00) using Default rotation
but then it dosent follow the unit from behind.

PLZ HELP ME!!!
 

rodead

Active Member
Reaction score
42
lock the camera on the unit every 0.02 seconds.
i think it can be 0.05 or even more since 0.02 will lagg.

hope it works
 

wilze

Active Member
Reaction score
3
erhm i said i alrady did that
the problem is:
when u locked the camera after 0.05 it will not be unlocked after 0.05 means the camera cant move.

any other suggestion?

Figured it out thanks for the help. thread closed
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top