BROKE PROTOCOL

BROKE PROTOCOL

Not enough ratings
Toggle Entities
By TheUnishark
Learn how to make a toggleable entity with the ToggleEntity plugin!
   
Award
Favorite
Favorited
Unfavorite
The plugin
Before everything, you will need this plugin for your mod to work :
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2460060684
Parameters & Events
Animator Controller parameters:
The animator controller must follow a scheme.
All names must follow the following format:
te.[type]:(OtherValue).[name]

The default value of the parameter will always be their default/inactive state.

Types
  • Self - This type is for player characters only, it defines an animation a player can play for themselves.
  • Other - This type is any entity, it defines an animation anyone can trigger on an entity
  • Driver - This type is for mountable entities only, it defines an animation only the controller of the mountable can trigger
  • Passenger - This type is for mountable entities only, it defines an animation only the passengers of the mountable can trigger

Name
The names cannot contain dots as they are used as the argument separator.
You can add spaces in the name with underscores.

OtherValue
OtherValue is only required for float and int parameter types, it defines the value to set when the action is "active".
Do not define OtherValue if your parameter value type is not a float and an int.

Examples
Boolean parmeter
te.driver.Roof
Only the driver can use the "Roof" action.

Boolean parmeter
te.self.Dance
Gives a "Dance" action to the character

Boolean parmeter
te.other.Trunk
Players can use the "Trunk" action on this entity

Float parmeter
te.other:0.5.Change_Speed
Players can use "Change Speed" action on this entity, the value will change to 0.5 or the default value depending on its current state