User Tools

Site Tools


put_player

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
put_player [2018/03/16 09:46]
justin
put_player [2020/07/23 09:23] (current)
justin
Line 2: Line 2:
 ---- ----
  
-Instantly positions the player onto the specified tile.+Instantly positions the [[player ​character]] ​onto the specified ​[[tile]].
  
 ====Signature:​==== ====Signature:​====
Line 10: Line 10:
  
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|tile_id|ID of the destination tile.|[[String]]|Yes| +|tile_id|ID of the destination ​[[tile]].|[[String]]|Yes| 
-|direction|Cardinal direction for the player to face towards.|[[Cardinal Direction]]|No|+|direction|[[Cardinal direction]] for the player to face towards.|[[Cardinal Direction]]|No|
  
 ====Example:​==== ====Example:​====
-<​code ​python>+<​code ​bauxite>
 put_player("​tile_portal02",​ EAST) put_player("​tile_portal02",​ EAST)
 </​code>​ </​code>​
-//​Results://​ The player is immediately repositioned onto the tile with an ID of "​tile_portal02"​.+//​Results://​ The [[player ​character]] ​is immediately repositioned onto the [[tile]] with an ID of "​tile_portal02"​.
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Put Player** function to instantly move the player to another location with the current map after interacting with a portal or teleportation device.+Use the **Put Player** function to instantly move the [[player ​character]] ​to another location with the current ​[[map]] after interacting with a portal or teleportation device.
 </​WRAP>​ </​WRAP>​
  
Line 28: Line 28:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
-{{:wiki:​put_player_node.png?​nolink|}}+{{:​put_player_node.png?​nolink|}}
 </​WRAP>​ </​WRAP>​
  
 <WRAP half column> <WRAP half column>
 ====Visual Demo:==== ====Visual Demo:====
-{{:wiki:​put_player_demo.gif?​nolink|}}+{{:​put_player_demo.gif?​nolink|}}
 </​WRAP>​ </​WRAP>​
 </​WRAP>​ </​WRAP>​
put_player.1521218815.txt.gz · Last modified: 2018/03/16 09:46 by justin