Worldprobe::startShapeTestBox: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
 
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.worldprobe.startShapeTestBox(x, y, z, x1, y2, z2, rotX, rotY, rotZ, p9, p10, entity, p12);</syntaxhighlight>
<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
*'''x1:''' float
*'''sizeX:''' float
*'''y2:''' float
*'''sizeY:''' float
*'''z2:''' float
*'''sizeZ:''' float
*'''rotX:''' float
*'''rotationX:''' float
*'''rotY:''' float
*'''rotationY:''' float
*'''rotZ:''' float
*'''rotationZ:''' float
*'''p9:''' unknown (to be checked)
*'''rotationOrder:''' int
*'''p10:''' unknown (to be checked)
*'''flags:''' int
*'''entity:''' unknown (to be checked)
*'''ignoreEntity:''' int (Entity handle)
*'''p12:''' unknown (to be checked)
*'''p12:''' int
===Return value===
===Return value===
*'''unknown (to be checked)'''
*'''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

See also

Template:Worldprobe s function c