OnPlayerLeaves?

You can talk about ManiaScript for ManiaPlanet here

Moderator: English Moderator

kastun
Posts: 18
Joined: 28 Oct 2012, 10:05

Re: OnPlayerLeaves?

Post by kastun »

I have created an extended version some month ago: ModeBaseExtended.

With it you have the PlayerId, the Name and the Login of the left player available.
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: OnPlayerLeaves?

Post by Eole »

There will be two new events in the next update:
- OnPlayerAdded
- OnPlayerRemoved

The OnPlayerRemoved will come with new variables too:
Event.PlayerId
Event.User
Event.PlayerWasSpawned
Event.PlayerLastPosition
Event.PlayerLastAimDirection
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: OnPlayerLeaves?

Post by steeffeen »

Eole wrote:There will be two new events in the next update:
- OnPlayerAdded
- OnPlayerRemoved

The OnPlayerRemoved will come with new variables too:
Event.PlayerId
Event.User
Event.PlayerWasSpawned
Event.PlayerLastPosition
Event.PlayerLastAimDirection
wow that's huge! :yes:
it will help me in many cases!!

what's the use-case for PlayerLastAimDirection?^^
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    User avatar
    Eole
    Nadeo
    Nadeo
    Posts: 1265
    Joined: 26 Apr 2011, 21:08

    Re: OnPlayerLeaves?

    Post by Eole »

    steeffeen wrote:what's the use-case for PlayerLastAimDirection?^^
    Useful for one thing we're experimenting at Nadeo, but that's a secret for the moment. :P
    Contribute to the ManiaPlanet documentation on GitHub
    A question about ManiaScript? Ask it here!
    User avatar
    Gugli
    Nadeo
    Nadeo
    Posts: 536
    Joined: 14 Jun 2010, 17:35
    Location: Mon PC est à Paris, mais mon coeur rode dans les forêts de Lozère

    Re: OnPlayerLeaves?

    Post by Gugli »

    Eole wrote: Useful for one thing we're experimenting at Nadeo, but that's a secret for the moment. :P
    Eole, teasing like a BAWS ! ^_^
    --
    (>~_~)> ═╦═ ╔╦╗ <(~_~<)
    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2463
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: OnPlayerLeaves?

    Post by steeffeen »

    that's not fair! :lol:
      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 0 guests