This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
hide_toolbar [2017/05/27 12:07] – external edit 127.0.0.1 | hide_toolbar [2021/04/21 18:32] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Hides the toolbar containing the inventory button, etc. | + | Hides the toolbar containing the [[inventory]] button, etc. |
+ | ====Signature: | ||
<code python> | <code python> | ||
hide_toolbar() | hide_toolbar() | ||
Line 10: | Line 11: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
| (No arguments for this function) | | (No arguments for this function) | ||
- | |||
- | <WRAP center round info 100%> | ||
- | This function must be called to put the camera into a locked state before using any of the camera movement functions: [[Move Camera]], [[Move Camera At Speed]], [[Move Camera Over Time]], [[Look At Target]], [[Look At Target Over Time]], [[Rotate Camera]], and [[Rotate Camera Over Time]]. | ||
- | </ | ||
====Example: | ====Example: | ||
- | < | + | < |
- | hide_toolbar() | + | hide_toolbar(); |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Hide Toolbar** function to force a static view of the current map or to freeze the camera in place for the duration of a cutscene. | + | Use the **Hide Toolbar** function to hide the toolbar buttons during cutscenes |
</ | </ | ||