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

[Trigger] camera/leak

Status
Not open for further replies.
Level 5
Joined
Sep 22, 2012
Messages
90
Does this leak?

  • dfcxhdh
    • Events
    • Conditions
    • Actions
      • Camera - Lock camera orientation for Player 1 (Red) to (Triggering unit), offset by (0.00, 0.00)
How do I make use of this trigger action?
 
Level 7
Joined
Apr 5, 2011
Messages
245
Safe code:
JASS:
local location LEAK
//...
set LEAK = Location(3.1415926535, 8.97932384)
//========
//Every line of your code
//========
call RemoveLocation(LEAK)
set LEAK = null
Learn JASS to be pro. :thumbs_up:
 
Level 5
Joined
Sep 22, 2012
Messages
90
What I mean about that is: would the offset part affect the camera orientation? If I had a looping/trigger that changes those coordinates (using trigo), would the camera move its lens/focus? even at periodictime/loop?
 
Status
Not open for further replies.
Top