Skip to content
View in the app

A better way to browse. Learn more.

MagicDuel Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Function that outputs the "Players online here".

Featured Replies

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

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.

  • Author

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

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.

  • Author

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

Forum Statistics

  • Total Topics 17.5k
  • Total Posts 182.2k

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.