StopHelicopterBhv
From Nomad DB
Revision as of 14:14, 15 April 2020 by Wasdennnoch (talk | contribs) (Created page with "Stops a behavior on a helicopter that was previously started using StartHelicopterBhv. == Syntax == <syntaxhighlight lang="lua"> StopHelicopterBhv(helicopterEntity) </syn...")
Stops a behavior on a helicopter that was previously started using StartHelicopterBhv.
Syntax
StopHelicopterBhv(helicopterEntity)
- helicopterEntity (string): The ID of the helicopter to stop a behavior on
Example
StartHelicopterBhv(helicopterEntityId, GetInvalidEntityId(), GetLocalPlayerEntityId(), "HelicopterBhvSetup.1978142222")
-- To stop the heli following you around
StopHelicopterBhv(helicopterEntityId)