Reset Camera

baozilla

New Member
Reaction score
1
I've decided to make a short map-intro quest cinematic, and heres the cide.

Code:
Actions
    Cinematic - Turn subtitle display override On
    Cinematic - Turn cinematic mode On for (All players)
    Cinematic - Clear the screen of text messages for (All players)
    Cinematic - Disable user control for (All players)
    Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 0.00 seconds
    Camera - Apply Camera 001 <gen> for Player 1 (Red) over 0.00 seconds
    Wait 3.00 seconds
    Game - Display to (All players) the text: |cffffcc00Villager|...
    Wait 5.00 seconds
    Cinematic - Clear the screen of text messages for (All players)
    Game - Display to (All players) the text: |cffffcc00Villager|...
    Wait 3.00 seconds
    Cinematic - Clear the screen of text messages for (All players)
    [B][SIZE="4"]Camera - Reset camera for Player 1 (Red) to standard game-view over 3.00 seconds[/SIZE][/B]
    Cinematic - Turn subtitle display override Off
    Cinematic - Turn cinematic mode Off for (All players)
    Cinematic - Enable user control for (All players)
    Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 2.00 seconds
    Camera - Apply Camera 001 <gen> for Player 1 (Red) over 0.00 seconds
    Quest - Create a Required quest titled Clean the Zombies with the description It seems that the g..., using icon path ReplaceableTextures\CommandButtons\BTNZombie.blp
    Wait 5.00 seconds
    Trigger - Turn on Untitled Trigger 002 <gen>
    Quest - Flash the quest dialog button
    Quest - Display to (All players) the Quest Update message: NEW QUEST ACCEPTED ...
    Trigger - Turn off (This trigger)

the Events for above code is Map initialization, everything works great until the highlighted part. the camera just won't reset !:banghead:

Please tell me where i did wrong. ( or improve )
 

ArmedCitizen

Kisses Cats
Reaction score
198
Maybe it is because of the Player 1 (Red). Try this:

Code:
Player Group - Pick every player in (All players) and do (Actions)
    Loop - Actions
        Camera - Reset camera for (Picked player) to standard game-view over 3.00 seconds
 

baozilla

New Member
Reaction score
1
thanks for the reply but.. nop.. its not working.. :eek:
--
i cant find preview camera motion.. could u tell me about where it is ?
 

DuckieKing

Elitist Through and Through
Reaction score
51
I think the native works.
Hit shift + ctrl + c in the main map view and create a new camera. Have the trigger set view to that.

edit: Preview Camera Motion is a button between comments and functions. It's to the right of "Trigger Functions:"
 

baozilla

New Member
Reaction score
1
I think the native works.
Hit shift + ctrl + c in the main map view and create a new camera. Have the trigger set view to that.

yea i get what u mean... i can do that. but i just dont know why my first code wont work :confused:

thx for the help. :D

- no wait. it still didnt work.... the camera wont apply to my second one.
i tried changing the fade delay(random reasons...), and it still doesnt work.

- found out the reason.. i accidentally pasted
Code:
 Camera - Apply Camera 001 <gen> for Player 1 (Red) over 0.00 seconds
after the camera reset...
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top