Jump to content

Home

[HELP] Script Error in Compilation


Nick Vader

Recommended Posts

The correct script should look something like this:

 


void main()
{
  object oNPC = GetObjectByTag("[color="Red"]YOUR_TAG_HERE[/color]");
  effect eDeath = EffectDeath(TRUE, TRUE, TRUE);

  ApplyEffectToObject(DURATION_TYPE_INSTANT, eDeath, oNPC, 0.0);
}

 

Just change the Red text to whatever you want in the mod! This should work! ;)

 

EDIT: Varsity, one step ahead of me! :xp:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...