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
No edit summary |
No edit summary |
||
(2 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 == | == Syntax == | ||
Line 11: | 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 );
}