This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
set_player_movement_locked [2017/04/14 15:04] – justin | set_player_movement_locked [2017/04/14 15:17] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Locks or unlocks the player' | + | Locks or unlocks the player' |
<code python> | <code python> | ||
Line 10: | Line 10: | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|is_locked|State of player movement.|[[Boolean]]|Yes| | |is_locked|State of player movement.|[[Boolean]]|Yes| | ||
+ | |||
+ | <WRAP center round info 100%> | ||
+ | Similar to [[Lock Camera]], this function needs to be called prior to scripting the player' | ||
+ | </ | ||
====Example: | ====Example: | ||
Line 18: | Line 22: | ||
<WRAP center round tip 100%> | <WRAP center round tip 100%> | ||
- | Use the **Lock/ | + | Use the **Lock/ |
</ | </ | ||