08-26-2011, 04:19 PM
Ok so, I am trying to make a script that teleports the player, but I don't know how to change the position?
Buildism Lua question
|
08-26-2011, 04:19 PM
Ok so, I am trying to make a script that teleports the player, but I don't know how to change the position?
08-26-2011, 07:41 PM
player.Character.Body.Position = Vec2D(xposition, yposition)
or char.Body.Position = Vec2D(xposition, yposition) where in the first line, player is the Player and in the second, char is the Character. xposition is the X-value of where you want to go to and yposition is the Y-value. |
« Next Oldest | Next Newest »
|