• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] camera question

Status
Not open for further replies.
Level 7
Joined
Mar 12, 2006
Messages
407
use cinematic mode if u want it to be locked so user cant control

If u just want to lock the screen but the player should still be able to control units then use the world editors camera tools (in the same window as units, terrain and stuff) create camera that shows the region you want do be shown in game and then use Camera - Apply Camera
to apply the camera you just created
 
Level 7
Joined
Mar 12, 2006
Messages
407
Ok here is how i did it:

  • Cam init
  • Events
    • Time - Elapsed Game time is 1 second
  • Conditions
  • Actions
    • Camera - Apply view <gen> for Player 1 (red) over 0.01 seconds
    • Camera - Lock camera target for Player 1 (red) to burning sheep of death 0012 <gen>, offset by (0.00, 0.00) using Standard-Rotation
And then a refresh trigger

  • cam
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Playergroup - Pick every player in (All players matching ((((Matching player) slot status) equal (==) plays) and (((Matching player) controller) equals (==) User))) and do (Actions)
        • Loop - Actions
          • Camera - Apply view <gen> for (Picked player) over 0.01 seconds
burning sheep of death is the unit which is in center of my very tiny map
view <gen> is the camera object
I have differen angle, distance and rotation with this
should work for you, too
 
Status
Not open for further replies.
Top