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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)

Related Pages