OnClientColShapeLeave
Jump to navigation
Jump to search
This event triggers whenever an element leaves a collision shape.
Syntax
void onClientColShapeLeave ( entity theEntity, bool matchingDimension )
Example
This example outputs "Out." to the chatbox whenever a local user leaves a collision shape.
function onClientColShapeLeave( theEntity, matchingDimension )
if ( theEntity == getLocalPlayer() ) then --Checks whether the leaving entity is the local player
outputChatBox( "Out." ) --Outputs.
end
end