[Solved][ManiaScript] Message::SendBigMessage() : Message appears but never disappears

Discuss everything related to Shootmania.

Moderator: English Moderator

Post Reply
TheBigMiike
Posts: 1257
Joined: 06 Mar 2013, 16:12
Location: Vendée | France
Contact:

[Solved][ManiaScript] Message::SendBigMessage() : Message appears but never disappears

Post by TheBigMiike » 15 Jun 2017, 04:26

Good Morning :D

My code

Code: Select all

#Include "Libs/Nadeo/Message.Script.txt" as Message

// Script blablabla

Message::SendBigMessage("Lolilol", 3000, 10);
"lolilol" appears but still there 3 hours later.
No matter if I put Message::SendBigMessage("Lolilol", 3000, 10); in ***StartMap*** or ***PlayLoop*** with conditions, the text never disappears.
I put a log(Now); right after the SendBigMessage. There's no loop.

What is wrong ?
Last edited by TheBigMiike on 15 Jun 2017, 11:33, edited 1 time in total.
Image Image

User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: [ManiaScript] Message::SendBigMessage() : Message appears but never disappears

Post by steeffeen » 15 Jun 2017, 09:30

do you have the following in your ***Yield*** block?

Code: Select all

Message::Loop();
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

    TheBigMiike
    Posts: 1257
    Joined: 06 Mar 2013, 16:12
    Location: Vendée | France
    Contact:

    Re: [ManiaScript] Message::SendBigMessage() : Message appears but never disappears

    Post by TheBigMiike » 15 Jun 2017, 11:31

    steeffeen wrote:
    15 Jun 2017, 09:30
    do you have the following in your ***Yield*** block?

    Code: Select all

    Message::Loop();
    Nope :o
    Ty steeffeen, messages now disappear ;)
    Image Image

    Post Reply

    Return to “Shootmania”

    Who is online

    Users browsing this forum: No registered users and 1 guest