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