List of system varibles and functions.

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

Post Reply
User avatar
faserg1
Posts: 446
Joined: 06 Jul 2011, 19:54
Location: Russia
Contact:

List of system varibles and functions.

Post by faserg1 »

Hi all! I have one small idea — collect here system varibles and functions. There will be info about that. So, I will start.

Common
Varibles
  • Boolean ServerShutdownRequested; //Is Server Requested Shutdows
    Examples:

    Links:
  • Boolean MatchEndRequested; //Is Math and Requested
    Examples:

    Links:
Functions
Empty...
CSmMode
Varibles
  • CSmPlayer[] AllPlayers; //Players, Spectators and Bots
    Examples:

    Links:
  • CSmPlayer[] Players; //Connected and playing players :D
    Examples:

    Links:
  • CSmPlayer[] Spectators; //Spectators
    Examples:

    Links:
  • CSmPlayer[] BotPlayers; //Bots
    Examples:

    Links:
  • Boolean UseClans; //Is need to use clans and clans functional.
    Examples:

    Links:
Functions
Empty...

Maybe someone attach it topic to top... But I don't thonk so... I just ask all to help me and collect all things here ;)
Есть вопросы? Только скайп - faserg1.
Image
Жизнь - это динамика ритма. Life is dynamic of rhythm.
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: List of system varibles and functions.

Post by steeffeen »

why don't you just look at the classes documentation?

Hosted by me
how-to
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    faserg1
    Posts: 446
    Joined: 06 Jul 2011, 19:54
    Location: Russia
    Contact:

    Re: List of system varibles and functions.

    Post by faserg1 »

    Ha, anyway, I don't find there system varibles and functions.
    Last edited by faserg1 on 18 Jun 2014, 14:42, edited 2 times in total.
    Есть вопросы? Только скайп - faserg1.
    Image
    Жизнь - это динамика ритма. Life is dynamic of rhythm.
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: List of system varibles and functions.

    Post by steeffeen »

    do you mean they aren't there or you don't know how to find them?
    because they are all there.

    example:
    Boolean ServerShutdownRequested;
    -> CSmMode
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks
      User avatar
      faserg1
      Posts: 446
      Joined: 06 Jul 2011, 19:54
      Location: Russia
      Contact:

      Re: List of system varibles and functions.

      Post by faserg1 »

      Hmmm... Forget that they are const :shock: ... but anyway sometimes it hard to find...
      Also... Maybe post here more info about that?
      Есть вопросы? Только скайп - faserg1.
      Image
      Жизнь - это динамика ритма. Life is dynamic of rhythm.
      User avatar
      fleo
      Posts: 304
      Joined: 02 Sep 2011, 12:56

      Re: List of system varibles and functions.

      Post by fleo »

      I agree that having a documentation with comments and examples would be amazing.

      You should do that on github, it'd be easier to make it participative.
      Follow me on my maniaflash. Try the new elitealternative! Feedbacks on this post. :thumbsup:

      ♫ I need αεяø. I'm holding out for αεяø 'til the end of the night. ♫
      User avatar
      faserg1
      Posts: 446
      Joined: 06 Jul 2011, 19:54
      Location: Russia
      Contact:

      Re: List of system varibles and functions.

      Post by faserg1 »

      Have an idea: edit source file...
      Doxygen can read special comments and post they in documentaton...
      Есть вопросы? Только скайп - faserg1.
      Image
      Жизнь - это динамика ритма. Life is dynamic of rhythm.
      User avatar
      steeffeen
      Translator
      Translator
      Posts: 2463
      Joined: 14 Oct 2012, 16:22
      Location: Germany

      Re: List of system varibles and functions.

      Post by steeffeen »

      just to make that clear: the Const keyword in the documentation rather means "read-only"
      the values change, but they are changed only by the server and not by your script

      @comments
      you should rather request nadeo to add them so they are generated automatically
      maybe something for your wishlist
        Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

        ManiaControl, FancyManiaLinks
        User avatar
        faserg1
        Posts: 446
        Joined: 06 Jul 2011, 19:54
        Location: Russia
        Contact:

        Re: List of system varibles and functions.

        Post by faserg1 »

        I now, what mean const... I am coder... But on C++. I just forget were placed varibles... :cry:

        Hey! I have more ideas! :D
        That will help all of us!
        steeffeen, I need your help! Can I tolk with you in PM?
        Есть вопросы? Только скайп - faserg1.
        Image
        Жизнь - это динамика ритма. Life is dynamic of rhythm.
        User avatar
        steeffeen
        Translator
        Translator
        Posts: 2463
        Joined: 14 Oct 2012, 16:22
        Location: Germany

        Re: List of system varibles and functions.

        Post by steeffeen »

        faserg1 wrote:I now, what mean const... I am coder...
        well usually Const means "constant" and not "read-only" ;)

        just send a pm, but i won't inject comments in the generated doc file
        i can host it though
        just keep in mind that you would have to adjust it after each update Nadeo does since the doc source file will be regenerated
          Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

          ManiaControl, FancyManiaLinks
          Post Reply

          Return to “ManiaScript”

          Who is online

          Users browsing this forum: No registered users and 1 guest