• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help on my map project

Status
Not open for further replies.
Level 12
Joined
Dec 17, 2009
Messages
951
few things

i need a custom movement system for flying units, wich when not moving or using spell(attack) alway move around like a real plane.

and i need a spell that u can use on one of your units, to control it
EXAMPLE: i use a dummy spell on a unit (than is not owned by me), the unit
gonna be controlled by the caster player that was controling the unit (it means that u cant cast on enemy units)
and when u cast it, the camera will follow the unit like a First person.
and it can be canceled by clicking "ESC"

Here is a example

thanks!
 
Level 9
Joined
Apr 26, 2011
Messages
403
mm,

1, create a new spell, do nothing, can only cast on allies

2, create a trigger, when the spell is cast on target, then :
- changed the owner of targeted unit to you (so you can control)
- this unit become selected
- changed custom value of this custom to old owner's ID (if you want to return to right owner after hit ESC)
- change your camera setting to lock on this unit ? (you need to find out how)

3, hit ESC :
- unselect this unit
- change owner back to old owner (read "custom value of unit" to find out who was old owner)
- reset your camera
 
Status
Not open for further replies.
Top