27 lines
525 B
Plaintext
27 lines
525 B
Plaintext
/* Script generated by
|
|
Lilac Soul's NWN Script Generator, v. 1.2
|
|
|
|
For download info, please visit:
|
|
http://www.angelfire.com/space/lilacsoul */
|
|
|
|
//Put this OnEnter
|
|
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
object oTarget;
|
|
object oSpawn;
|
|
oTarget = GetWaypointByTag("here");
|
|
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_boulder", GetLocation(oTarget));
|
|
|
|
oTarget = oSpawn;
|
|
|
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_IMP_BREACH), GetLocation(oTarget));
|
|
|
|
}
|
|
|