Jump to content

Function that outputs the "Players online here".


Recommended Posts

Posted

Just a suggestion, since I know it's possible for a scene to grab the number of "active players" there.  

(seeing as it is listed just above the names in every scene)

 

mds_Active_players('1_0x2_1');

 

Could either return a simple integer value, or an array of names?

 

You can check for specific names via mds_check_group_location(), but I didn't notice in my browsing a way to do a more generic check of  "how many people at 1_0x2_1 currently?"

 

Ideally, it would be very cool to see if they are idle or not, but since the current scene lists anyone "orange", then I'll stick to utilizing similar implimented features here.  :)

 

 

 

  • Root Admin
Posted

Just a suggestion, since I know it's possible for a scene to grab the number of "active players" there.  

(seeing as it is listed just above the names in every scene)

 

mds_Active_players('1_0x2_1');

 

Could either return a simple integer value, or an array of names?

 

You can check for specific names via mds_check_group_location(), but I didn't notice in my browsing a way to do a more generic check of  "how many people at 1_0x2_1 currently?"

 

Ideally, it would be very cool to see if they are idle or not, but since the current scene lists anyone "orange", then I'll stick to utilizing similar implimented features here.  :)

 

 

 

Im not  a fan of this, since you could use it to locate people, which we have a spell for.

Posted (edited)

Ahh, good point.   I was leaning more towards the Integer value, honestly, since it's displayed already. 

(and can already imagine a quest of "get X# peopel here)

 

 

...hmm, and with that thought, perhaps not, since the coordinates in certain places (Golemus, etc) might be wonky due to the Tiny Men, Abra,  and other sorts of things.

Edited by Maebius
  • 1 year later...
Posted

I would like to have a new function within MD that outputs the amount of players that are in the scene that the clickable is in. This would be usefull if you want to have a big group of players at a certain location to have something triggered within a quest.

Posted

That would be awesome, I agree.   The scene seems to already now this in-game, as it is displayed, so the functionality should be 'somewhere', but I don't know an MDscript function to do the same

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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

Loading...
  • Forum Statistics

    17.5k
    Total Topics
    182.1k
    Total Posts
  • Recently Browsing

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
  • Recent Event Reviews

×
×
  • Create New...