• 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] Is there a simpler way to move regions?

Status
Not open for further replies.
Level 5
Joined
Aug 18, 2013
Messages
85
I have a cinematic sequence I made of boromirs death. But I want the same cinematic death scene to happen in 6 other spots. In case my character dies in that other location.

But it's a very long grueling process. This is what I'm doing

  • Set RegionYSiward[0] = ZLOTR2ndorc <gen>
  • Set SpawnPointFD = (Center of ZLOTR2ndorc <gen>)
  • Region - Center RegionYSiward[0] on (SpawnPointFD offset by (-1526.00, 4550.00))
  • Custom script: call RemoveLocation(udg_SpawnPointFD)
  • Set SpawnPointFD = (Position of BMacbethdiestoFleance)
  • Unit - Move BMacbethdiestoFleance instantly to (SpawnPointFD offset by (-1526.00, 4550.00))
  • Custom script: call RemoveLocation(udg_SpawnPointFD)
  • Player Group - Pick every player in (All players) and do (Camera - Apply LOTR12 <gen> for (Picked player) over 0.00 seconds)
  • Player Group - Pick every player in (All players) and do (Camera - Pan camera for (Picked player) to ((Target of LOTR12 <gen>) offset by (-1526.00, 4550.00)) over 0.00 seconds)
  • Player Group - Pick every player in (All players) and do (Camera - Lock camera target for (Picked player) to Decoy Fleance 0205 <gen>, offset by (0.00, 0.00) using The unit's rotation)
Is there a simpler way of doing this?
 
Level 21
Joined
Nov 4, 2013
Messages
2,016
There is something simpler. Apply the wanted regions in the 6 locations. Then, you use variables to save all the regions as point variables (e.g center of region). If the hero dies in location 1, for instance, you set Point[1] = Region 1 Location 1. If it's in location 2 then Point[1] = Region 1 Location 2 and so on. Configure the cinematic to run using these point variables and it's done!
 
Status
Not open for further replies.
Top