Skip to content

IsCharacterSkinIdBoolDriver

15.8

Inheritance 4 ancestors · 50 siblings

Class Documentation

Edit documentation

A bool driver that is true when the skin of the source unit has the id SkinID.

The source must be a unit. The driver returns false without one.

The driver picks the skin data to read in this order:

  1. If 0x267c4080 is true, a second skin record of the unit.
  2. Else, if RespectDisguise is true and the unit currently shows another character's data, the skin of that other data.
  3. Else, the unit's current skin.

Properties

0x267c4080

Bool = false
Edit documentation

When true, the driver reads a second skin record that the unit keeps, and RespectDisguise is not used.

RespectDisguise

Bool = true
Edit documentation

When true, a unit that shows another character's data is tested with the skin of that data. When false, the unit's own skin is tested.

UseValidParentForChroma

Bool = true
Edit documentation

When true and the skin is a chroma, the driver compares the id of the chroma's parent skin, so one SkinID matches the skin and all its chromas. When false, it compares the id of the chroma itself.