nanos world API Reference Unofficial documentation
Function Client Slow Bleeding edge only

Vehicle:BindAnimationBlueprintEventDispatcher

Assigns and Binds an Animation Blueprint Event Dispatcher.<br><br><b>Note:</b> only <a href='/docs/scripting-reference/classes/vehiclewheeled'>VehicleWheeled</a> has an Animation Blueprint, on any other Vehicle type this does nothing.

Syntax

Lua
my_vehicle:BindAnimationBlueprintEventDispatcher(dispatcher_name, callback)

Parameters

Name Type Default Description
dispatcher_name string Event Dispatcher name
callback function Callback function to call
Callback signature function(self, params)

Returns

  • function the callback itself