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?
 
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.
Back
Top