• 🏆 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 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 8
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