Skip to content

Distributor

Tommo J. Phillips edited this page Oct 22, 2023 · 2 revisions

Distributor

Namespace: TommoJProductions.ModApi.GameDatabase.GameParts

The Distributor game part.

public class Distributor : GamePart

Inheritance ObjectGamePartDistributor

Properties

maxAngle

The max angle the distributor can be.

public FsmFloat maxAngle { get; set; }

Property Value

FsmFloat

sparkAngle

The spark angle of the distributor

public FsmFloat sparkAngle { get; set; }

Property Value

FsmFloat

bolted

reps if the game part is bolted

public FsmBool bolted { get; set; }

Property Value

FsmBool

installed

reps if the game part is installed

public FsmBool installed { get; set; }

Property Value

FsmBool

damaged

reps if the game part is damaged

public FsmBool damaged { get; set; }

Property Value

FsmBool

thisPart

reps the ingame gameobject reference.

public FsmGameObject thisPart { get; set; }

Property Value

FsmGameObject

newMesh

reps the 'not broken' mesh for the game part.

public FsmGameObject newMesh { get; set; }

Property Value

FsmGameObject

damagedMesh

reps the 'broken' mesh for the game part.

public FsmGameObject damagedMesh { get; set; }

Property Value

FsmGameObject

trigger

reps the trigger gameobject for the game part.

public FsmGameObject trigger { get; set; }

Property Value

FsmGameObject

Constructors

Distributor(PlayMakerFSM)

public Distributor(PlayMakerFSM data)

Parameters

data PlayMakerFSM

Clone this wiki locally