• 🏆 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 angle help

Status
Not open for further replies.
Level 3
Joined
Apr 20, 2005
Messages
34
For my Map, "Blood Ball" i am trying to give players the option of camera angles through activiating an ability,


Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Ability being cast) Equal to Pit Camera )) and do (Actions)
Loop - Actions
Camera - Set (Owner of (Casting unit))'s camera Rotation to (Facing of (Casting unit)) over 0.01 seconds
Camera - Set (Owner of (Casting unit))'s camera Angle of attack to 334.00 over 0.01 seconds



the "pit camera" spell is just a dummy version of immolation. However, it just dosnt want to work, any suggestions?
 
Level 4
Joined
Dec 10, 2005
Messages
73
Try this

Event
Unit - A unit Begins casting an ability
Condition
(Ability being cast) Equal to Pit camera
Action
Camera - Set (Owner of (Casting unit))'s camera Rotation to (Facing of (Casting unit)) over 0.01 seconds
Camera - Set (Owner of (Casting unit))'s camera Angle of attack to 334.00 over 0.01 seconds

Your code looks for the casting unit. This code waits for him.
 
Status
Not open for further replies.
Top