physical

From Arx Libertatis Wiki
Jump to navigation Jump to search

The physical script command is used to temporarily or disable NPC movement and set the collision cylinder size for an NPC.

Usage

physical off
physical on
physical height <collisionheight*>
physical radius <collisionradius*>

Context: NPCs

Parameters:

ParameterTypeDescription
collisionheight number or variable New NPC collision cylinder radius, will be multiplied by the entity scale
collisionradius number or variable New NPC collision cylinder height, will be multiplied by the entity scale

physical off temporarily disables movement for this NPC including automatic movement animation management until physical on is called but does not change the configured NPC behavior or pathfinding information. It also prevents the NPC from receiving detectplayer and undetectplayer events.