Show / Hide Table of Contents

Group PlayerConditions

Contains player-related Pose Mod conditions that only work on Yandere Simulator.

Assembly: pm_yan.dll

Commands

Sanity(Single)

Checks if the player's sanity is higher than or equal to value

Declaration
public bool Sanity(float value)

Skills(String, Int32)

Checks if the player's grade in a skill is equal to value.

Declaration
public bool Skills(string skill, int value)
Remarks

If skill is the name of the subject, the check is for the amount of study points invested in the subject, which ranges from 0 to 100.

If skill is the name of the subject followed by Grade, the check is for the rank in the subject, ranging from 0 to 5.

The available subjects are: Biology, Chemistry, Language, Physical and Psychology.

Skills2(String, Int32)

Checks if the player's grade in a skill is lower than value.

Declaration
public bool Skills2(string skill, int value)
Remarks

If skill is the name of the subject, the check is for the amount of study points invested in the subject, which ranges from 0 to 100.

If skill is the name of the subject followed by Grade, the check is for the rank in the subject, ranging from 0 to 5.

The available subjects are: Biology, Chemistry, Language, Physical and Psychology.

Weapon(Int32)

Checks if the player is carrying the weapon with the ID id.

Declaration
public bool Weapon(int id)

Weight(Int32)

Checks if the player is carrying the 50kg weight.

Declaration
public bool Weight(int value)
Remarks

value is an unused parameter.

YanIdle()

Checks if the player is playing the idle animation.

Declaration
public bool YanIdle()

YanNearEditObject(Single)

Checks if the distance between the player and the edit object is lower than distance.

Declaration
public bool YanNearEditObject(float distance)
Remarks

This is equivalent to EditObjectNearOtherObject:YandereChan:{distance}.

YanNearPoint(Single, Single, Single, Single)

Checks if the distance between the player and Vector3(x, y, z) is lower than distance.

Declaration
public bool YanNearPoint(float x, float y, float z, float distance)
Remarks

This is equivalent to YanNearPoint:{x}, {y}, {z}:{distance}.

YanNearPoint(Vector3, Single)

Checks if the distance between the player and position is lower than distance.

Declaration
public bool YanNearPoint(Vector3 location, float distance)
Remarks

This is equivalent to ObjectNearPoint:YandereChan:{location}:{distance}

Back to top Pose Mod © kgftbz, 2016–2021. Documentation © Ramobo, 2021. Documentation generated with DocFx and hosted by GitLab Pages.