Jump to content
  • 0

Setscript


Mystery

Question


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

I need help with some good scriptors..

Im pretty sure you're aware of 'setscript'. Is there a way that the bonuses you use with 'setscript' won't vanish when you relog? Is it possible to keep them for as long as you wont except if you trade them away or if the timer on it runs out or something? Or if the player 'Resets' the 'setscript' bonus?

Rather than having to always going back to the NPC to 'setscript' again?

bump

bump

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   6
  • Joined:  01/25/12
  • Last Seen:  

what's 'setscript'? i didn't know there are script commands like that.. care to explain what it does?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

setscript changes the Item Script of an item. As example,you have a Hat[0] and then you talk to an npc,who changes the Hat[0] effect to bonus bAllstats,1; Then after relogging the effect is removed,that's what he meant and he wants to add a Timer to the script,so that the Timer starts again after logging out and then logging in,except if the timer is removed by the player. I could do that.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   52
  • Joined:  11/15/11
  • Last Seen:  

Sounds like a rather easy task using character variables & OnPCLoginEvent..

However I suppose it would be a lot easier if you could provide us with the initial script that you want edited so it works even after relogging.

Paste it here: http://upaste.me

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...