User Tools

Site Tools



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

Link to this comparison view

Next revision
Previous revision
put_player [2017/04/27 07:32] external edit
put_player [2021/10/30 20:18] (current)
Line 2: Line 2:
 ---- ----
-Instantly positions the player onto the specified tile.+Instantly positions the [[player character]] onto the specified [[tile]].
 <code python> <code python>
 </code> </code>
 ^Argument^Description^Type^Required^ ^Argument^Description^Type^Required^
-|"tile_id"|Description.|[[String]]|Yes| +|tile|Target [[tile]] onto which the [[entity]] will be placed.|[[Entity]], [[Coordinate]]|Yes| 
-SOUTH|Description.|[[String]]|Yes|+|direction|[[Cardinal direction]] for the player to face towards.|[[Cardinal Direction]]|No|
 ====Example:==== ====Example:====
-<code python+<code bauxite
-put_player("tile_id", SOUTH)+put_player("tile_portal02", EAST);
 </code> </code>
-//Results://+//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 ...+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 27: Line 28:
 <WRAP half column> <WRAP half column>
 ====Editor Node:==== ====Editor Node:====
 </WRAP> </WRAP>
 <WRAP half column> <WRAP half column>
 ====Visual Demo:==== ====Visual Demo:====
 </WRAP> </WRAP>
 </WRAP> </WRAP>
put_player.1493303556.txt.gz · Last modified: 2017/04/27 07:32 by