• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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