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

I need Cam Triggers HELP

Status
Not open for further replies.
Level 10
Joined
Jun 21, 2007
Messages
643
I currently stuck on how to make a locked rotating camrea around a unit to be offset infront of the unit every time it rotates again
i origanly tryed with polar offsets but that kept putting the camrea in random places in the map so i assume offset cams dont use polar offsets
can any one help?
 
Level 29
Joined
Jul 29, 2007
Messages
5,174
Try the world editor help section...This is kind of a novice question...and more suitable for that section.


I presume you mean the "Triggering section" ?
And does it mean we are noobs just beacuse we don't use JASS >.<

[ontopic] I think you mean this

  • Naga Pwnz
    • Events
      • Time - Every 0.05 seconds of game time
    • Conditions
    • Actions
      • Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using The unit's rotation

(change the player/unit of course...)
 
Level 10
Joined
Jun 21, 2007
Messages
643
its based on that but not that in the slightest!!!
ther would apear to be no way to set the offset to what i want
Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00) using The unit's rotation

* My problem comes when trying to put a piont infront of a unit you would do so via polar ofsets but this trigger uses normal grid refraces thus using polar ofests dont work
and now i'm stuck trying to find out how to find said coordanates to find said pionmt infort of the unit.
 
Level 11
Joined
Aug 25, 2006
Messages
971
Hehe easily done in JASS and WEU GUI
  • Camera - Lock camera target for Player 1 (Red) to (Triggering unit), offset by ((X of ((Position of (Triggering unit)) offset by 100.00 towards (Facing of (Triggering unit)) degrees)), (Y of ((Position of (Triggering unit)) offset by 100.00 towards (Facing of (Triggering unit)) degrees))) using Default rotation
Thats how its done in WEU
If you want the JASS just ask me.
Note* The above leaks 2 locations (maybe 4?) for every call. I would not suggest a call more then once or twice a minute...
 
Level 11
Joined
Aug 25, 2006
Messages
971
If you don't want jass your going to need 5 lines of GUI instead of 1. Set each point to a variable, use them in the camera action, then remove each point.
 
Status
Not open for further replies.
Top