• 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.

Camera bug?

Status
Not open for further replies.
Level 5
Joined
Jul 14, 2014
Messages
115
[solved]Camera bug?

Hello all. I'm making a huge RPG map. There's this bug that started happening recently. Basically I have a bunch of cameras for each dialogue. Each dialogue is a small cinematic. Before when I wanted to switch cameras from to another, it worked. But now when I want to switch a camera instead of the camera switching it just switches to the same camera that's on and just kinda jumps and makes it further(?). Plzz help :goblin_jawdrop: BTW I have more that 30 cams
Edit:Found out the problem. Plzz close thread :p
 
Last edited:
Level 5
Joined
Jul 14, 2014
Messages
115
Just one or two of each kind so we could see how you do it.

  • Cut6
    • Events
      • Unit - A unit enters For Cut6a <gen>
    • Conditions
      • (Entering unit) Equals (Random unit from (Units of type Fisherman))
    • Actions
      • Unit - Pause (Random unit from (Units of type Fisherman))
      • Trigger - Turn off (This trigger)
      • Trigger - Turn off ChosenCam
      • Cinematic - Turn cinematic mode on for (All players)
      • Camera - Apply "For Cut6b" <gen> for Player 2 (Blue) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from (Bandit 0443 <gen>) named Bandit: Play No Sound and display Hey, you! Stop righ.... Modify duration: Set Value 3.60 seconds and Wait
      • Cinematic - Send transmission to (All players) from (Bandit 0443 <gen>) named Bandit: Play No Sound and display This is our camp. W.... Modify duration: Set Value 4.30 seconds and Wait
      • Camera - Apply "For Cut6a" <gen> for Player 2 (Blue) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from (Random unit from (Units of type Fisherman)) named Fisherman: Play No Sound and display I was looking aroun.... Modify duration: Set Value 2.50 seconds and Wait
      • Camera - Apply "For Cut6b" <gen> for Player 2 (Blue) over 0.00 seconds
      • Cinematic - Send transmission to (All players) from (Bandit 0443 <gen>) named Bandit: Play No Sound and display Alright then! come .... Modify duration: Set Value 6.30 seconds and Wait
      • Unit - Continue (Random unit from (Units of type Fisherman))
      • Cinematic - Turn cinematic mode off for (All players)
      • Trigger - Turn on ChosenCam
      • Trigger - Run SelectHero <gen> (ignoring conditions)


(Fisherman is my hero,
ChosenCam is a variable,
SelectHero is a trigger which selects the hero)
 
Level 5
Joined
Jul 14, 2014
Messages
115
Is there only one Fisherman hero in the game at all times? Why not use Unit/Unit-Type Comparison? (The former choice if the unit is placed in the Terrain Editor)

Also replace Entering Unit with Triggering Unit.

Yes, I have only one hero and he's spawned when the game starts so I can't have unit/unit comparison. Anyway for some reason the cameras don't switch over. Instead the camera just jumps
 
Level 5
Joined
Jul 14, 2014
Messages
115
You can use Unit Type comparison, more safe. And how exactly does it jump? You mean instantly, and you want it over time?
Well basically. I switch to the camera which points to the talking unit. Then when my hero starts talking I want to switch to the camera which is pointing his way(instantly). But for some reason it stays on the camera which is looking at the talking unit and kindof jumps up a bit then slowly goes back down and moves away a bit. I can make a video if needed.
BTW I did unit/unit type comparison as you said
 
Status
Not open for further replies.
Top