Jump to content

Deliris

Developer
  • Posts

    162
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    0%

Community Answers

  1. Deliris's post in Help Quest time for GM was marked as the answer   
    Before opening the event manager, add this check:
    if pc.getqf("gm_cooldown") > get_global_time() then say("You must wait 24 hours.") return end  
    After the event is enabled, add this line:
    pc.setqf("gm_cooldown", get_global_time() + 86400)  
     
  2. Deliris's post in Damage detection was marked as the answer   
    You could insert into a vector the damage taken and the player instance or player id, doesn't really matter. 
    After the boss is killed you can just loop through the vector and see who did the most damage.
     
    Hope it helped.
  3. Deliris's post in Eter Compile Problem [const class QString' has no member named 'toAscii'] was marked as the answer   
    Deprecated members (as for instance QString::toAscii() ) are disabled by default in Qt5 and can be enabled using "QT_DISABLE_DEPRECATED_BEFORE":http://qt-project.org/doc/qt-5.0/qtcore/qtglobal.html#QT_DISABLE_DEPRECATED_BEFORE.
×
×
  • 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.