This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
change_camera [2024/02/08 14:43] – justin | change_camera [2024/02/08 14:47] – justin | ||
---|---|---|---|
Line 3: | Line 3: | ||
(WIP) | (WIP) | ||
- | Changes the [[camera]] type. This function is currently limited to switching between Standard and First-Person. | + | Changes the [[camera_types|camera]] type. This function is currently limited to switching between Standard and First-Person. |
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | change_camera() | + | change_camera(FIRST_PERSON) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | | | | | | | + | |camera_type|Type of [[camera_types|camera]] to change to (STANDARD or FIRST_PERSON).|[[Camera Type]]|Yes| |
====Example: | ====Example: | ||
<code bauxite> | <code bauxite> | ||
- | change_camera(); | + | change_camera(FIRST_PERSON); |
</ | </ | ||
// | // |