MF_AbstractClassify
Base class for classify scripts. And also provides a common point of reference for certain variables used by other scripts.
Public Variables
factions : FactionBlock
Use to point to object holding the collider used with faction layers. This may be used by MF_B_Spawner to change the faction of spawned units that have a collider on a faction layer.
Public Class FactionBlock
enemies : enum[] MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Factions that this units will classify as enemies.
allies : enum[] MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Factions that this units will classify as allies.
neutral : enum[] MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Factions that this units will classify as neutral.
Public Methods
FindRelation : enum MFnum.Relation ( faction : enum MFnum.FactionType )
enum MFnum.Relation { Unknown, Enemy, Ally, Neutral }
enum MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Returns how this unit views a given faction.
Base class for classify scripts. And also provides a common point of reference for certain variables used by other scripts.
Public Variables
factions : FactionBlock
Use to point to object holding the collider used with faction layers. This may be used by MF_B_Spawner to change the faction of spawned units that have a collider on a faction layer.
Public Class FactionBlock
enemies : enum[] MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Factions that this units will classify as enemies.
allies : enum[] MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Factions that this units will classify as allies.
neutral : enum[] MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Factions that this units will classify as neutral.
Public Methods
FindRelation : enum MFnum.Relation ( faction : enum MFnum.FactionType )
enum MFnum.Relation { Unknown, Enemy, Ally, Neutral }
enum MFnum.FactionType { None, Side0, Side1, Side2, Side3 }
Returns how this unit views a given faction.