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

Help with some camera scrips

Status
Not open for further replies.
Level 3
Joined
Jul 18, 2008
Messages
53
Okay dudes i need some help, i need to make a 3rd camera script, but in the game you must choose a character and the camera works only on the characters that are already set on the map... so i dont know how to make it, i tried to make something like set camera blabla on picked character or targetet and didint work any ideas?
 
Level 3
Joined
Jul 18, 2008
Messages
53
sry dude my english is bad, i need a 3rd camera script with character choose i mean , i choose a character and then uses 3rd camera, 3rd camera script is allowed only with a character that is already on the map capisci?
 
Level 5
Joined
Aug 23, 2008
Messages
124
After a unit is created create a variable in the same trigger like this:

Unit- create 1 (Unit that is being created) etc.
Set variable - Set (This is the variable) Cam_Target_Unit to (Last created unit.)

Then just select the variable where you have to select da unit


Variables for units are used to target a unit that will be placed after the game starts (dvs not placed in the editor).

And some rep would be good now ^^
 
Status
Not open for further replies.
Top