Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or
create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
Line 1: |
Line 1: |
| {{ACSFunction|description=
| | bool SetActorPosition (int tid, fixed x, fixed y, fixed z, bool fog) |
| Teleports the tagged thing to a given location marked by (x, y, z).
| |
| |usage=
| |
| ''bool'' SetActorPosition(''int tid'', ''fixed x'', ''fixed y'', ''fixed z'', ''bool fog'')
| |
| |parameters=
| |
| *''tid'': tagged thing to move (see [[tid]] for details)
| |
| *''x'', ''y'', ''z'': map coordinates where to move the thing
| |
| *''fog'': whether to produce teleportation fog
| |
| |notes=
| |
| Beware that since it's considered teleportation, no visual interpolation is taking place, so for small distances meant to produce controlled movement, it will look jerky.
| |
|
| |
|
| Returns true if teleportation was successful.
| | Teleports the tagged thing to a given location marked by (x, y, z). Beware that since it's considered teleportation, no visual interpolation is taking place, so for small distances meant to produce controlled movement, it will look jerky. |
|
| |
|
| Even if you specify ''fog'', it will NOT briefly paralyze the thing if it's a player. You can use [[SetActorVelocity]] though.
| | ''fog'' means that it should also display coordinates |
| |id=(ACC internal)}}
| |