- Joined
- Jun 7, 2008
- Messages
- 420
Request: A script, in GUI or JASS (preferably GUI) that does the following:
When unit exits a transport, on the condition that the unit is a hero,
Custom script: call SetCameraUnit(udg_u, Player(0))
Custom script: call SetMovementUnit(udg_u,Player(0),7)
For players 1 to 8. Note that in the custom scripts, player 1 is 0, player 2 is 1 and so on. Also, in the second line, the '7' refers to animation number.
The only problem is I need an event to detect unit leaving transport.
Comment: These triggers are part of the witcher's camera system, which I have no idea how it works.
Help appreciated.
When unit exits a transport, on the condition that the unit is a hero,
Custom script: call SetCameraUnit(udg_u, Player(0))
Custom script: call SetMovementUnit(udg_u,Player(0),7)
For players 1 to 8. Note that in the custom scripts, player 1 is 0, player 2 is 1 and so on. Also, in the second line, the '7' refers to animation number.
The only problem is I need an event to detect unit leaving transport.
Comment: These triggers are part of the witcher's camera system, which I have no idea how it works.
Help appreciated.