diff --git a/docs/sdk/playercontrols.xml b/docs/sdk/playercontrols.xml
index 1ea97470d..2bd1c0b96 100644
--- a/docs/sdk/playercontrols.xml
+++ b/docs/sdk/playercontrols.xml
@@ -66,6 +66,11 @@
C4ID
Optional ID that is passed to the script function. See ExtraData.
+
+ CoordinateSpace
+ Game, Viewport
+ For viewport the given coordinates are relative to the players top left corner of the window. Default ist Game.
+
SendCursorPos
Boolean
@@ -218,7 +223,7 @@
TriggerMode
- bitmask
+ Bitmask
Trigger mode of this mapping. Bitmask based on the following values:
diff --git a/docs/sdk/script/fn/PathFree.xml b/docs/sdk/script/fn/PathFree.xml
index 9e6135f8b..84680a36a 100644
--- a/docs/sdk/script/fn/PathFree.xml
+++ b/docs/sdk/script/fn/PathFree.xml
@@ -50,6 +50,7 @@ for(var living in FindObjects(Find_OCF
GetMaterial
GBackSolid
GetPathLength
+ PathFree2
Sven22002-08
diff --git a/docs/sdk/script/fn/PathFree2.xml b/docs/sdk/script/fn/PathFree2.xml
new file mode 100644
index 000000000..485427317
--- /dev/null
+++ b/docs/sdk/script/fn/PathFree2.xml
@@ -0,0 +1,55 @@
+
+
+
+
+
+ PathFree2
+ Landscape
+ 5.1 OC
+
+ array
+
+
+ int
+ x1
+ X coordinate of the start point
+
+
+ int
+ y1
+ Y coordinate of the start point
+
+
+ int
+ x2
+ X coordinate of the end point
+
+
+ int
+ y2
+ Y coordinate of the end point
+
+
+
+ Works like PathFree, but instead returns an array containing the coordinates of the first solid pixel found on line. Returns nil if the path is free.
+ All coordinates are global, even in local calls.
+
+
+ var x = Random(LandscapeWidth()),
+ pos = PathFree2(x, 0, x, LandscapeHeight());
+if(pos)
+ CreateObject(Idol, pos[0], pos[1]);
+
+ Creates an Idol somewhere on the surface of the landscape.
+
+
+
+ GetMaterial
+ GBackSolid
+ GetPathLength
+ PathFree
+
+
+ Apfelclonk2014-04
+