Conditions List - gamehunt/CustomNPCs GitHub Wiki
Each condition checks some parameters of player
ArtificalHealthCondition
Arguments:
value
- value of artificial health to compare with
comparsion_type
- comparsion type
HealthCondition
Arguments:
value
- value of health to compare with
comparsion_type
- comparsion type
HasEffectCondition
Arguments:
type
- effect's string
HasntEffectCondition
Arguments:
type
- effect's string
HasItemCondition
Arguments:
item_type
- item id which player must have in inventory
HasntItemCondition
Arguments:
item_type
- item id which player mustn't have in invenory
RoleCondition
Arguments:
role
- role id
inverted
- if true, condition will check if player hasn't role
PermissionCondition
Arguments:
permission
- permission which player must have
RoundTimeCondition
Arguments:
value
- value of round time to compare with
comparsion_type
- comparsion type
NukeStateCondition
Arguments:
state
- nuke state