OnClientElementColShapeHit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[Category:Incomplete Event]] | [[Category:Incomplete Event]] | ||
{{Client event}} | |||
__NOTOC__ | __NOTOC__ | ||
This event is | This event is triggered when an element (like a player or vehicle) enters a collision shape. | ||
== | ==Parameters== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
colshape theShape, bool matchingDimension | |||
</syntaxhighlight> | </syntaxhighlight> | ||
*'''theShape:''' the colshape that the element entered. | |||
*'''matchingDimension:''' ''true'' if the element is in the same dimension as the colshape, ''false'' otherwise. | |||
==Source== | |||
The source of this event is the element that entered the colshape. | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 17:06, 30 December 2007
This event is triggered when an element (like a player or vehicle) enters a collision shape.
Parameters
colshape theShape, bool matchingDimension
- theShape: the colshape that the element entered.
- matchingDimension: true if the element is in the same dimension as the colshape, false otherwise.
Source
The source of this event is the element that entered the colshape.