Jump to content

stitchpt

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by stitchpt

  1. On 1/14/2020 at 7:13 PM, Vanilla said:

     

    No need to pay for a system.. But thanks for advertising your services in a question thread, that will definitely help users.

     

    You have many ways of doing it. Some of these may include using lua to code a quest that does the job for you. You can either trigger it yourself or - if you have some stuff like the vanilla source (even old releases should have this) you can even trigger a server_timer to fire off once the boss should spawn. But this is just more convenient, you can also just login or let the quest trigger once a gm/player logs in for the first time. There are many ways to do this. As soon as you trigger spawn you can just re-use the timer.

     

    Next you need to check if the mob already exists (not killed, so we won't spawn to instances of the mob). You can just do it via event flag for example but this is prone to err if your server crashes for some reason. So make sure you clear the event flag at the beginning of the quest so it doesn't get stuck. As soon as a player kills the boss, you can change the flag back and thus making it able to respawn it.

     

    It's just one of many approaches to do it. Source work should do the magic too, but most people don't know how to do it so maybe lua is the easierst and safest way to go.

     

    Ty vm Vanilla that help me allot ❤️ i was stuck with the part of cheking the mob but now i got it ty ? 

    • Love 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.