Worldprobe::startShapeTestBox: Difference between revisions
(yay) |
CocaColaBear (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript">mp.game.worldprobe.startShapeTestBox(x, y, z, | <syntaxhighlight lang="javascript">mp.game.worldprobe.startShapeTestBox(x, y, z, sizeX, sizeY, sizeZ, rotationX, rotationY, rotationZ, rotationOrder, flags, entity, p12);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''x:''' float | *'''x:''' float | ||
*'''y:''' float | *'''y:''' float | ||
*'''z:''' float | *'''z:''' float | ||
*''' | *'''sizeX:''' float | ||
*''' | *'''sizeY:''' float | ||
*''' | *'''sizeZ:''' float | ||
*''' | *'''rotationX:''' float | ||
*''' | *'''rotationY:''' float | ||
*''' | *'''rotationZ:''' float | ||
*''' | *'''rotationOrder:''' int | ||
*''' | *'''flags:''' int | ||
*''' | *'''ignoreEntity:''' int (Entity handle) | ||
*'''p12:''' | *'''p12:''' int | ||
===Return value=== | ===Return value=== | ||
*''' | *'''int''' | ||
==Example== | ==Example== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
Latest revision as of 13:08, 14 September 2020
Syntax
mp.game.worldprobe.startShapeTestBox(x, y, z, sizeX, sizeY, sizeZ, rotationX, rotationY, rotationZ, rotationOrder, flags, entity, p12);
Required Arguments
- x: float
- y: float
- z: float
- sizeX: float
- sizeY: float
- sizeZ: float
- rotationX: float
- rotationY: float
- rotationZ: float
- rotationOrder: int
- flags: int
- ignoreEntity: int (Entity handle)
- p12: int
Return value
- int
Example
// todo