Skip to content

GamePartWear

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

GamePartWear

Namespace: TommoJProductions.ModApi.GameDatabase.GameParts

reps a game part that has a wear member.

public class GamePartWear : GamePartTime

Inheritance ObjectGamePartGamePartTimeGamePartWear

Properties

wear

wear

public FsmFloat wear { get; set; }

Property Value

FsmFloat

time

time

public FsmFloat time { 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

GamePartWear(PlayMakerFSM)

public GamePartWear(PlayMakerFSM data)

Parameters

data PlayMakerFSM

Clone this wiki locally