Initial Commit
Initial Commit
This commit is contained in:
9
_module/nss/cb_swivelthrone1.nss
Normal file
9
_module/nss/cb_swivelthrone1.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user