randloc
eventmanual page 39
randloc <planenr> <terr nbr>
Arguments
| Argument | Type | Required | References |
|---|---|---|---|
| planenr | int | yes | — |
| terr nbr | int | yes | terrain |
Takes 2 arguments.
What it does
Move target location to a random location. See the Plane Numbers table (page 26). The plane special values -1 (all planes) and -2 (Elysium-near planes) can also be used. Negative terrain numbers can also be used for special group of terrains. Cannot be used on squareevents.
— modding manual, page 39 (as an event command)