18 lines
310 B
Plaintext
18 lines
310 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
oTarget = oPC;
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "bandoreportal", GetLocation(oTarget));
|
|
|
|
oTarget = oSpawn;
|
|
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SOUND_BURST), GetLocation(oTarget));
|
|
|
|
}
|
|
|