Cmap Maniascript Problem
Posted: 18 Apr 2017, 17:32
Hi, I trying to get the Autor Time in my UI when I play a Local Network on Stadium, but i dont know the sintaxis in the script, so i try to modified the module Lib_UI:PrevBestTime in UI.Script.txt(i made the copy to moding) to start. Looking for groping in the documentation I found this class called Cmap http://maniascript.team-devota.com/struct_c_map.html and the atribute call TMObjective.
So i think put in the Module Lib_UI:PrevBestTime in UI.Script.txt a script that shows me the time author in a label when I start map (the label has a id="Label_AuthorTime").
The problema is:
What I've been able to learn looking at the script of the game itself sometimes have to declare certain things and when I see the documentation I have no clear when declare certain things depending on circumstances.
Then what I ask is that someone explain to me how to use the CMap class within the UI file.Script.txt or better still, to correctly read the documentation.
A image https://www.dropbox.com/s/cvvmenjsi8oobdl/Help.png?dl=0
Thx for read this!

So i think put in the Module Lib_UI:PrevBestTime in UI.Script.txt a script that shows me the time author in a label when I start map (the label has a id="Label_AuthorTime").
The problema is:
What I've been able to learn looking at the script of the game itself sometimes have to declare certain things and when I see the documentation I have no clear when declare certain things depending on circumstances.
Then what I ask is that someone explain to me how to use the CMap class within the UI file.Script.txt or better still, to correctly read the documentation.
A image https://www.dropbox.com/s/cvvmenjsi8oobdl/Help.png?dl=0
Thx for read this!

