From 08479c64a9368cbd26859aaaddb58ee892b7d13d Mon Sep 17 00:00:00 2001 From: Laura Date: Wed, 2 Oct 2024 15:59:16 +0200 Subject: [PATCH 1/2] Correct name and documentation for _PLACE_OBJECT_ON_GROUND_PROPERLY_2 --- OBJECT/PlaceObjectOnGroundOrObjectProperly.md | 17 +++++++++++++++++ OBJECT/PlaceObjectOnGroundProperly_2.md | 16 ---------------- 2 files changed, 17 insertions(+), 16 deletions(-) create mode 100644 OBJECT/PlaceObjectOnGroundOrObjectProperly.md delete mode 100644 OBJECT/PlaceObjectOnGroundProperly_2.md diff --git a/OBJECT/PlaceObjectOnGroundOrObjectProperly.md b/OBJECT/PlaceObjectOnGroundOrObjectProperly.md new file mode 100644 index 000000000..56136b3f8 --- /dev/null +++ b/OBJECT/PlaceObjectOnGroundOrObjectProperly.md @@ -0,0 +1,17 @@ +--- +ns: OBJECT +aliases: ["0xD76EEEF746057FD6", "_PLACE_OBJECT_ON_GROUND_PROPERLY_2"] +--- +## PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY + +```c +// 0xD76EEEF746057FD6 +BOOL PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY(Object object); +``` + +Places an object on the ground or another object. + +## Parameters +* **object**: The object handle. + +## Return value diff --git a/OBJECT/PlaceObjectOnGroundProperly_2.md b/OBJECT/PlaceObjectOnGroundProperly_2.md deleted file mode 100644 index 5a1191ad9..000000000 --- a/OBJECT/PlaceObjectOnGroundProperly_2.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -ns: OBJECT -aliases: ["0xD76EEEF746057FD6"] ---- -## _PLACE_OBJECT_ON_GROUND_PROPERLY_2 - -```c -// 0xD76EEEF746057FD6 -BOOL _PLACE_OBJECT_ON_GROUND_PROPERLY_2(Object object); -``` - - -## Parameters -* **object**: - -## Return value From 95b03f61e6cd17143fed2877e741929ada462b80 Mon Sep 17 00:00:00 2001 From: Laura Date: Fri, 11 Oct 2024 23:35:42 +0200 Subject: [PATCH 2/2] update docs --- OBJECT/PlaceObjectOnGroundOrObjectProperly.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OBJECT/PlaceObjectOnGroundOrObjectProperly.md b/OBJECT/PlaceObjectOnGroundOrObjectProperly.md index 56136b3f8..49f1562c9 100644 --- a/OBJECT/PlaceObjectOnGroundOrObjectProperly.md +++ b/OBJECT/PlaceObjectOnGroundOrObjectProperly.md @@ -9,7 +9,7 @@ aliases: ["0xD76EEEF746057FD6", "_PLACE_OBJECT_ON_GROUND_PROPERLY_2"] BOOL PLACE_OBJECT_ON_GROUND_OR_OBJECT_PROPERLY(Object object); ``` -Places an object on the ground or another object. +Casts a ray downward from the object's position and places the object on the surface it hits (including world surface and objects). Use [`PLACE_OBJECT_ON_GROUND_PROPERLY`](#_0x58A850EAEE20FAA3) to not include objects when determining the surface. ## Parameters * **object**: The object handle.