• 🏆 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 / 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