This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
change_camera [2024/02/08 13:52] – created justin | change_camera [2024/02/08 14:47] – justin | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======Function====== | + | ======Change Camera====== |
---- | ---- | ||
(WIP) | (WIP) | ||
+ | |||
+ | Changes the [[camera_types|camera]] type. This function is currently limited to switching between Standard and First-Person. | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | function() | + | change_camera(FIRST_PERSON) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |camera_type|Type of [[camera_types|camera]] to switch to (STANDARD or FIRST_PERSON).|[[Camera Type]]|Yes| |
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | function(); | + | change_camera(FIRST_PERSON); |
</ | </ | ||
// | // | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Function** function to... | + | Use the **Change Camera** function to... |
</ | </ | ||
Line 26: | Line 28: | ||
<WRAP half column> | <WRAP half column> | ||
====Editor Node:==== | ====Editor Node:==== | ||
- | {{:function_node.png? | + | {{:change_camera_node.png? |
</ | </ | ||