• 0
Sign in to follow this  
domez86

Sky Fortress Error

Question

[Error]: buildin_instance_npcname: Invalid instance NPC (instance_id: 0, NPC name: "sfwarp#1".)

hi!, pls help me for this error? in Sky Fortress.

image.thumb.png.6cf7839a7739a1d927af759bf9e0e50f.png

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

i managed to fix it, just moved  this:

	//disable unused npcs for now
			disablenpc instance_npcname( "sfwarp#1", instance_id() );
			disablenpc instance_npcname( "sfwarp#2", instance_id() );

from line 141,142,143, to line 233

OnInstanceInit:
	set [email protected]$, strnpcinfo(4);
	set [email protected]_name$, instance_npcname( strnpcinfo(0), instance_id() );
	
	//apply mapflags
	setmapflag [email protected]$,mf_nomobloot;
	setmapflag [email protected]$,mf_nomvploot;
	//disable unused npcs for now
			disablenpc instance_npcname( "sfwarp#1", instance_id() );
			disablenpc instance_npcname( "sfwarp#2", instance_id() );

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this