Page 7 of 10

Re: ManiaScript Documentation

Posted: 17 Jul 2013, 14:38
by Eole
Info: The CutScene type allow a layer to be displayed even during a mediatracker intro, outro, ...

Re: ManiaScript Documentation

Posted: 17 Jul 2013, 16:21
by spaii
Thx for precision, in TrackMania too ? :D

Re: ManiaScript Documentation

Posted: 17 Jul 2013, 17:58
by Eole
Logically yes, if not, then it's a bug.

Re: ManiaScript Documentation

Posted: 17 Jul 2013, 20:08
by steeffeen
two similar questions:
  • how does CUIConfig::EUISequence::CustomMTClip work?
    how is it possible to create the clip which is played during this sequence?
  • is there still any use of CUIConfig::EUISequence::Outro? (beside for older maps of course as you can't create outro clips for maps anymore..)

Re: ManiaScript Documentation

Posted: 24 Jul 2013, 21:16
by steeffeen
aaaaaaaaaaaaand the next question :D :D

what exactly defines to which context labels have access to?
so far i didn't have problems regarding that
but now i encountered an issue and i couldn't figure out how to fix it

example code:

Code: Select all

declare Integer G_Whatever;  // <<< global variable

***PlayLoop***
***
+++MyOwnLabel+++
***

***MyOwnLabel***
***
G_Whatever = 1; // <<< doesn't work because it says that G_Whatever "doesn't exist"
***
it seems like MyOwnLabel has only access to variables of the modebase where PlayLoop was defined... am i assuming right here?

Re: ManiaScript Documentation

Posted: 26 Jul 2013, 10:18
by w1lla

Re: ManiaScript Documentation

Posted: 31 Jul 2013, 09:08
by Hylis
a little info for Shootmania
to unactivate the laser pass through, for infestation, for example:
UseLaserSkewering = False

Re: ManiaScript Documentation

Posted: 31 Jul 2013, 09:54
by w1lla

Re: ManiaScript Documentation

Posted: 09 Aug 2013, 14:49
by Eole
I made a tutorial on how to generate the ManiaScript API Documentation. It's available here:
http://maniaplanet.github.io/documentat ... e-doc.html

I explain how to generate the documentation from ManiaPlanet.exe, how to create an html version of the documentation with Doxygen and eventually give a batch file who do all of the above in one click.

@Steeffeen:
You're right about the label. It's an old problem, hope to see it fixed one day too. ^^

Re: ManiaScript Documentation

Posted: 18 Aug 2013, 16:58
by steeffeen
just noticed a mini issue in the documentation:

Code: Select all

const CUser	CMlScriptIngame::LocalUser
const CUser	CMlScript::LocalUser
both classes have the LocalUser attribute while CMlScriptIngame inherits from CMlScript