|
Tiberian Technologies Scripts Reference Revision: 9000
|
Aircraft Landing Zone Animation. More...
#include <dp88_ar.h>
Plays an animation on the attached object whenever it enters or leaves an aircraft landing zone, designated by the presence of the dp88_Aircraft_LandingZone script. Upon entering a landing zone the landing animation will be played and upon exiting a landing zone the same animation will be played in reverse. This can be used to create a landing gear animation for aircraft.
Optionally the script can also enforce the pilot only exiting the aircraft whilst inside a landing zone if the require_landing_zone parameter is set to 1. This will cause the vehicle and pilot to both be killed if the pilot attempts to leave the vehicle outside of a landing zone.
| landing_anim_name | Name of the animation to play upon entering a landing zone (and reverse upon leaving) |
| landing_anim_first_frame | First frame number of the landing animation to play |
| landing_anim_last_frame | Last frame number of the landing animation to play |
| require_landing_zone | Whether to enforce the pilot only exiting inside a landing zone. 1 to enable, 0 to disable |