Noverwyn Documentation
API set:
148

‹ All natives

Namespace: ENTITY API set: server Language: Luau Improve

entity:setPriority

Also: player:setPriority

entity:setPriority(meters: number)

Gives the entity a head start when choosing who is visible.

For example a teacher speaking in front of a full room.

Parameters#

  • meters (number): metres taken off its distance, for everyone, from 0 to 1000

Example#

teacher:setPriority(40)

See also#

Namespace: PLAYER

Namespace: ENTITY

Namespace: ZONE

Namespace: TIME

Namespace: SCRIPT

Namespace: EVENT

Namespace: CLIENT

Namespace: CLIENT EVENT

Namespace: UNIFORM

Namespace: WAND

Namespace: LOOK

Namespace: CONTROL

Namespace: GAIT

Namespace: VOICE

Namespace: ATELIER

Namespace: TOOL