Scripting/Squirrel/Functions/SetSpawnCameraPos: Difference between revisions
Jump to navigation
Jump to search
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "<pre>SetSpawnCameraPos( x, y, z );</pre> <source lang=squirrel> function onScriptLoad() { SetSpawnCameraPos( -923.6366, 1039.8380, 11.0848 ); } </source>") |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This function set the camera pos. | |||
== Arguments == | |||
* ''float'' '''X''' - X coordinate | |||
* ''float'' '''Y''' - Y coordinate | |||
* ''float'' '''Z''' - Z coordinate | |||
== Syntax == | |||
<pre>SetSpawnCameraPos( x, y, z );</pre> | <pre>SetSpawnCameraPos( x, y, z );</pre> | ||
== Example == | |||
<source lang=squirrel> | <source lang=squirrel> | ||
function onScriptLoad() | function onScriptLoad() | ||
Line 6: | Line 20: | ||
} | } | ||
</source> | </source> | ||
== Related Functions == | |||
{{Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions}} | |||
[[Category:Scripting/Squirrel/Functions/Spawn_and_Wasted_Screen_Functions]] |
Latest revision as of 21:59, 30 January 2017
This function set the camera pos.
Arguments
- float X - X coordinate
- float Y - Y coordinate
- float Z - Z coordinate
Syntax
SetSpawnCameraPos( x, y, z );
Example
function onScriptLoad()
{
SetSpawnCameraPos( -923.6366, 1039.8380, 11.0848 );
}