• 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 / Ability help. How do you make this work ??

Status
Not open for further replies.
Level 18
Joined
Aug 3, 2008
Messages
1,935
im creating my Star wars Aos, and there are RPG cameras.

The RPG camera are fine. But i want a nice selection system where you can choose the cameras from your units abilities section.

so i made 3 cameras. a ground view camera, a sky view camera, and then a 1st person( head on ) camera. I made abilties for it , such as

" Camera Options " and " Look Left " etc,...
See here is the trigger i had to switch to a camera, and then removing it, so that it makes space for other camera selections :

  • Ground Camera
    • Events
      • Unit - A unit owned by Player 1 (Red) Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to 3rd Person Camera (Ground View)
    • Actions
      • Trigger - Run Cam1 <gen> (ignoring conditions)
      • Unit - Remove (Ability being cast) from (Casting unit)
      • -------- -------------------------------------------------------------------------------------------------------------------- --------
      • Unit - Add Camera Options to (Casting unit)
      • Set Current_Ability[1] = Camera Options
      • Unit - Add 3rd Person Camera (Sky View) to (Casting unit)
      • Set Current_Ability[2] = 3rd Person Camera (Sky View)
      • Unit - Add 1st Person Camera to (Casting unit)
      • Set Current_Ability[3] = 1st Person Camera
when i remove the ability that is not needed, it never returns when i select a differet camera ,

for example

  • Face Camera
    • Events
      • Unit - A unit owned by Player 1 (Red) Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to 1st Person Camera
    • Actions
      • Trigger - Run Cam3 <gen> (ignoring conditions)
      • Unit - Remove (Ability being cast) from (Casting unit)
      • -------- -------------------------------------------------------------------------------------------------------------------- --------
      • Unit - Add Camera Options to (Casting unit)
      • Set Current_Ability[1] = Camera Options
      • Unit - Add 3rd Person Camera (Sky View) to (Casting unit)
      • Set Current_Ability[2] = 3rd Person Camera (Sky View)
      • Unit - Add 3rd Person Camera (Ground View) to (Casting unit)
      • Set Current_Ability[3] = 3rd Person Camera (Ground View)
when i try to bring back the ground camera, i get nothing.
What am i doing wrong ?
 
Status
Not open for further replies.
Top