User Tools

Site Tools


set_player_interaction_locked

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
set_player_interaction_locked [2018/03/16 09:45] justinset_player_interaction_locked [2020/04/25 16:13] justin
Line 2: Line 2:
 ---- ----
  
-Locks or unlocks the player's ability to interact with objects or speak to characters in the scene.+Locks or unlocks the player's ability to interact with [[object|objects]] or speak to [[character|characters]] in the scene.
  
 ====Signature:==== ====Signature:====
Line 13: Line 13:
  
 ====Example:==== ====Example:====
-<code python>+<code bauxite>
 set_player_interaction_locked(true) set_player_interaction_locked(true)
 </code> </code>
-//Results:// The player is no longer able to interact with any objects or characters until their interaction is re-enabled.+//Results:// The player is no longer able to interact with any [[object|objects]] or [[character|characters]] until their interaction is re-enabled.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Lock/Unlock Player Interaction** function to prevent the player from interacting with objects during a cutscene. This will typically be used in conjunction with [[set_player_movement_locked|Lock/Unlock Player Movement]].+Use the **Lock/Unlock Player Interaction** function to prevent the player from interacting with [[object|objects]] during a cutscene. This will typically be used in conjunction with [[set_player_movement_locked|Lock/Unlock Player Movement]].
 </WRAP> </WRAP>
  
set_player_interaction_locked.txt · Last modified: 2021/04/21 18:34 by justin