Jump to content
  • 0

Some battleground scripting commands.


Craves

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  02/27/12
  • Last Seen:  

I'm not sure if it's called scripting commands, or whatever..anyways, straight to the point..

I'm trying to make a randomizer that could randomly assign players to random team balance-ly. Which means, if there's 5 players in Red, and 6 players in blue, the next player that goes in using the randomizer would go to the red team. But when there's equal players on both team, the next player using the randomizer would randomly assign the player to 1 of the team. ( Red and Blue are reffering to Croix and Guillaume)

But here's the problem I faced..

I can't seem to find a "scripting command" that could trace how many players which is in that team.. (for Flavius, and Tierra.)

For example, there's "bg_get_data($@KvM03BG_id1) for Kvm.

My question is, is there any "scripting command" to trace how many players for Flavius/Tierra BG like the one from the example above? If no, anyway that I could possibly make the npc that I wanted?

Thanks in advance.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

arent you already show the script command?

just you didnt give a parameter for it ?

*bg_get_data(<Battle Group>,<type>);

Retrieves data related to given battle group. Type can be one of the following:
0 - Amount of players currently belonging to the group.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   0
  • Joined:  02/27/12
  • Last Seen:  

Erm..the one i gave is KvM ones, I'm not sure if there's one for flavius/tierra.. anyways, does it goes like.. bg_get_data(&@FlaviusBG1_id1) ?

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

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

×
×
  • Create New...