![]() |
using 'move()'
I know the params, but what are the options to the flags (8+16) etc, I can't find them on the wiki....... thanks
|
Options: cachetype(0,1,2) + blockcheck(4) + eventwhendone(8) + applydir(16)
Quote:
|
Quote:
|
An API reference that does not have a separate section for each function explaining the exact semantics of each parameter and the return value and whatever is a lousy API reference.
|
Thanks guys- just what I needed :)
Once an object has moved and is triggering to the server has anyone else had any problems with using triggeraction? It only seems to detect the object once it's finished moving and on a wall, if it's on a non-blocking tile it's as though the trigger action isn't sent, any ideas? |
The object itself is blocking? If it's using a gani then make sure it's using showcharacter or setshape.
|
HTML Code:
//Serverside |
On your serverside onCreated() put a setshape(1,32,32);
Then on your clientside triggeraction make it hit, this.x + 1 and this.y + 1. |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
It's stopped moving once the trigger is sent |
| All times are GMT +2. The time now is 01:46 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.