Jump to content
TLThings

[FUNCTION] Probabilidades


Recommended Posts

Hoje estive a ver várias quests minhas de 2015/2016 e reparava que fazia muito isto:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Foi então que decidi criar uma função de forma a parar de criar vários locais só para armazenar isto.

É uma coisa bastante básica mas irá facilitar muito a vossa vida.

 

1) Instalem a seguinte função no vosso questlib.lua

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

2) Insiram a palavra "get_number" no quest_function

3) Usem-no da forma como acharem melhor.

 

Quest de exemplo:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

  • Like 6
  • Upvote 4
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.