Maebius Posted August 1, 2013 Report Share Posted August 1, 2013 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. :) Quote Link to comment Share on other sites More sharing options...
Root Admin Chewett Posted August 1, 2013 Root Admin Report Share Posted August 1, 2013 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. Quote Link to comment Share on other sites More sharing options...
Maebius Posted August 1, 2013 Author Report Share Posted August 1, 2013 (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 August 1, 2013 by Maebius Quote Link to comment Share on other sites More sharing options...
No one Posted August 1, 2013 Report Share Posted August 1, 2013 You could go for ppl at script's location (no parameter for another location). Isn't there something similar already ? Ivorak 1 Quote Link to comment Share on other sites More sharing options...
rikstar Posted November 18, 2014 Report Share Posted November 18, 2014 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. Quote Link to comment Share on other sites More sharing options...
DarkRaptor Posted November 19, 2014 Report Share Posted November 19, 2014 There is a MDScript function that is very close to what you describe http://magicduel.wikia.com/wiki/Mds_check_group_location To work properly you will need a list of players so.. you just have to add a registration page somewhere. Quote Link to comment Share on other sites More sharing options...
Maebius Posted November 19, 2014 Author Report Share Posted November 19, 2014 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 Quote Link to comment Share on other sites More sharing options...
Rophs Posted November 19, 2014 Report Share Posted November 19, 2014 an mds_players_at_location(coords) would be awesome Quote Link to comment Share on other sites More sharing options...
Maebius Posted November 19, 2014 Author Report Share Posted November 19, 2014 Aha! I knew this was in my mind before: http://magicduel.invisionzone.com/topic/14549-suggestion-mds-active-playerscoordinates;/ Maybe merge the topics, mods? Please & thank you. :) Kyphis the Bard 1 Quote Link to comment Share on other sites More sharing options...
Burns Posted November 19, 2014 Report Share Posted November 19, 2014 Thanks for digging it up, i remembered there was something, but couldn't find it. Merged. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.