10 lines
361 B
Plaintext
10 lines
361 B
Plaintext
void main()
|
|
{
|
|
location lThrone = GetLocation(OBJECT_SELF);
|
|
vector vThrone = GetPositionFromLocation(lThrone);
|
|
float fThroneFacing = GetFacingFromLocation(lThrone) + 45;
|
|
lThrone = Location(GetArea(OBJECT_SELF),vThrone, fThroneFacing);
|
|
DestroyObject(OBJECT_SELF, 0.1);
|
|
CreateObject(OBJECT_TYPE_PLACEABLE, "swivelthrone", lThrone, TRUE);
|
|
}
|