Script Reference |
movetext ( name ; x ; y ; speed or time ; wait ; smooth) //Advanced |
Used for : Texts.
Parameters:
Description :
Moves a single textline to a specified pixelposition in a room. You can either use a speed setting between 0 and 9 or a time in milliseconds. The speed setting 0 will move the textline immediatly to its destination while 9 moves it very slowly. If you want to use a time you must add a ms to the value. If wait is used as the last parameter the script will pause until the textline has reached its destination. "Smooth" will smooth the movement speed. Instead of "Smooth" you can also provide a value from 1 to 199 ("smooth" is 20). 100 is like no smoothing at all. Below 100 means the movement will start slowly, increase in the middle and slow down again to the end. Over 100 means the exact opposite. [Variables] can be used as parameters.