• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Camera Bounds Crashes Game!?

Status
Not open for further replies.
Level 11
Joined
Nov 1, 2008
Messages
828
This exact trigger crashes the game.
  • Camera - Set the camera bounds for (Owner of (Picked unit)) to Region 413 <gen>
The camera bounds is already set to another part of the map, but it had a bugged camera bounds, it was more rather a diaganal square than a striaght square. Any ideas??? +Rep
Thanks.


  • Unit Group - Pick every unit in (Units in Region 411 <gen>) and do (Actions)
    • Loop - Actions
      • Camera - Set the camera bounds for (Owner of (Picked unit)) to Region 413 <gen>
      • Unit - Move (Picked unit) instantly to (Center of Region 413 <gen>)
      • Player Group - Remove (Owner of (Picked unit)) from StarGate_Camera1
      • Unit Group - Add (Picked unit) to Lift_Units
 
Level 5
Joined
Mar 19, 2010
Messages
106
This exact trigger crashes the game.
  • Camera - Set the camera bounds for (Owner of (Picked unit)) to Region 413 <gen>
The camera bounds is already set to another part of the map, but it had a bugged camera bounds, it was more rather a diaganal square than a striaght square. Any ideas??? +Rep
Thanks.


  • Unit Group - Pick every unit in (Units in Region 411 <gen>) and do (Actions)
    • Loop - Actions
      • Camera - Set the camera bounds for (Owner of (Picked unit)) to Region 413 <gen>
      • Unit - Move (Picked unit) instantly to (Center of Region 413 <gen>)
      • Player Group - Remove (Owner of (Picked unit)) from StarGate_Camera1
      • Unit Group - Add (Picked unit) to Lift_Units

Why you don't use this trigger :
  • Camera - Pan camera for (Owner of (Picked unit)) to (Center of (Region 413)) over 0.00 seconds
 
Level 11
Joined
Nov 1, 2008
Messages
828
Why you don't use this trigger :
  • Camera - Pan camera for (Owner of (Picked unit)) to (Center of (Region 413)) over 0.00 seconds


It's a very large game, lots of parts your not spose to see, for instance whats happening right now is in a carpark in a building (Using a 2D view). When ou enter the lift, the lift is another part of the map and the camera bounds is on the other side of the map. It just doesn't like to swap.
 
Level 11
Joined
Nov 1, 2008
Messages
828
Is there a trigger that sets the camera bounds to ... once the unit eters Reg 413?

Not really no, it has no event trigger, although it starts when the unit goes to the region and pressess 'down' key. The system is a lift going down and up, but that sort of infomation isn't needed. All it does is crash from a set boundery to another set boundery across the map!
 
Status
Not open for further replies.
Top