Jump to content
  • 0

Script Set Reg


twiggs62

Question


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/16/17
  • Last Seen:  

Hello there i was trying to fix Skyfortress instance but i cant :( Map server giving me

[Error]: script_set_reg: cannot write instance variable ''talking', NPC not in a instance!

[Debug]: Source (NPC): Stefan J.E. Wolf at 1@sthd (103,114)

care to check the script. please

SkyFortress.txt

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   703
  • Joined:  12/21/14
  • Last Seen:  

i don't think this would work as you want it

OnInit:
	disablenpc strnpcinfo(3);
	set 'talking, 0;
	end;

OnInit is on server load so the instance didn't loaded yet and the 'variable wont work like that

 

what i see in your error is with ('talking) variable so try to follow the error with that keyword and you will fix it

  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  342
  • Reputation:   169
  • Joined:  02/25/12
  • Last Seen:  

My bad, on the three npcs, i forgot this one. 

But as I allready told you, this error won't break anything. Thought I just commited a new version on my github.

  • MVP 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  05/16/17
  • Last Seen:  

Thank you so much guys

Link to comment
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.

×
×
  • Create New...