16 lines
386 B
Plaintext
16 lines
386 B
Plaintext
|
void main()
|
||
|
{
|
||
|
int nEvent=GetUserDefinedEventNumber();
|
||
|
if (nEvent==50)
|
||
|
{
|
||
|
location lLoc=GetLocation(OBJECT_SELF);
|
||
|
effect eVis = EffectVisualEffect(VFX_IMP_RAISE_DEAD);
|
||
|
object oSkelly=CreateObject(OBJECT_TYPE_CREATURE,"jw_und_spear_sk",lLoc);
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVis, GetLocation(oSkelly));
|
||
|
SetPlotFlag(OBJECT_SELF,0);
|
||
|
DestroyObject(OBJECT_SELF);
|
||
|
|
||
|
}
|
||
|
|
||
|
}
|