11 lines
397 B
Plaintext
11 lines
397 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oPortal;
|
||
|
int nObjectType = OBJECT_TYPE_PLACEABLE;
|
||
|
string strTemplate = "rebportal"; // creates portal
|
||
|
location locLocation= GetLocation(GetObjectByTag("SP_rebportal")); // Find the location of the waypoint
|
||
|
int bUseAppearAnimation = TRUE;
|
||
|
oPortal = CreateObject(nObjectType, strTemplate, locLocation, bUseAppearAnimation);
|
||
|
DestroyObject(oPortal, 300.0);
|
||
|
}
|