A question about Sysval

Description: Internal scripting system of SMBX-38A Engine based on the simple VB-like language
Moderators: Lx Xzit, Yoshi021, 5438A38A, Moderators, Semi-moderatos

PK Esper F
Topic author, Lord
Lord
Avatar
PK Esper F
Topic author, Lord
Lord
Age: 12
Reputation: 105
Posts: 520
Joined: 22 Aug 2016
Location: The sky
Website Facebook Google+ Twitter

Post #1by PK Esper » 30 Jan 2017, 4:58

The title has an explainatory. If you have no idea what the title means well... look at the picture.
sysval.png

How many codes that works with sysval ? Well like the things that will not work like sysval(disablegrab) will cause an error which mean it is not possible to do.

EDIT: If I put this on a wrong topic/category, some staff(why did i typed "stuff") are free to move my topic that I'm posting.
why i hadn't been in this forum for long when i used to be a super active person
avatar is basically baldi from tumblr
Formerly known as RSupertheGreat.
ImageImage
What I support
ImageImageImage
Personality
Yes, I'm a girl. If you guys are thinking I'm a boy.
I hate most people.
I'm a developer (and a beta tester of):
Image
Image
My level/episode playthrough thread: http://wohlsoft.ru/forum/viewtopic.php?f=29&t=2185

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 213
Posts: 491
Joined: 9 Nov 2015
Website

Post #2by Lx Xzit » 30 Jan 2017, 7:01

In the documentation you can find almost all system variables and their functions:
Spoiler
NCount stands for the number of NPCs existing.
BCount stands for the number of blocks existing.
Player1scrX stands for the left-top x-position of the camera for player1.
Player1scrY stands for the left-top y-position of the camera for player1.
Player2scrX stands for the left-top x-position of the camera for player2.
Player2scrY stands for the left-top y-position of the camera for player2.
Playerhealth(Writable) stands for the current 1up number.
CoinCount(Writable) stands for the coins number.
Score(Writable) stands for the current score.
StarCount stands for the current star number.
Param1 stands for the first parameter transmitted from events.
Param2 stands for the second parameter transmitted from events.
BPlayer1Health stands for the 1-up number of the first player in battle mode.
BPlayer2Health stands for the 1-up number of the first player in battle mode.
EnableLighting(WriteOnly) stands for the state of the light system.
Starcoincount stands for the number of acquired star coins.
Disablesave(WriteOnly) stands for whether the player are forbidden to save.

Also we have found some undocumented variables (in daily tips and guessing them by ourselves)
Spoiler
enablepause(Double) stands for the possibility to pause
showhud(Double) stands for the HUD if its hidden or shown
disablejump(Double) stands for the possibility to disable normal jump
disablespinjump(Double) stands for the possibility to disable spin jump

There are probably more variables but these are all we know so far
[size=100][b]VISIT MY YOUTUBE CHANNEL![/b] [url=https://www.youtube.com/channel/UC_AcXEExdYtaydxcCVPSGoQ]LX XZIT[/url][/size]
[size=100]Join our 38A Discord server! [url= https://discord.gg/7hCmNBE]CLICK HERE[/url][/size]

PK Esper F
Topic author, Lord
Lord
Avatar
PK Esper F
Topic author, Lord
Lord
Age: 12
Reputation: 105
Posts: 520
Joined: 22 Aug 2016
Location: The sky
Website Facebook Google+ Twitter

Post #3by PK Esper » 30 Jan 2017, 7:44

Alright, thanks for the answer.
why i hadn't been in this forum for long when i used to be a super active person
avatar is basically baldi from tumblr
Formerly known as RSupertheGreat.
ImageImage
What I support
ImageImageImage
Personality
Yes, I'm a girl. If you guys are thinking I'm a boy.
I hate most people.
I'm a developer (and a beta tester of):
Image
Image
My level/episode playthrough thread: http://wohlsoft.ru/forum/viewtopic.php?f=29&t=2185

Bigadre
Duke
Duke
Avatar
Bigadre
Duke
Duke
Age: 18
Reputation: 1
Posts: 119
Joined: 30 Jan 2018
Location: The dream star
YouTube

Another variable

Post #4by Bigadre » 16 May 2018, 22:59

It seems like Dragoncoincount is one too, but it seems to not do much
Download an episode here!
Would you like to contribute to Project SMBX COLAB? Then click here
Check out my YT: Dredregame specialist!


note: it doesn't look like many people notice me, so i'm pretty unknown in the comunity. i seriously try my best on anything i do...

;-;
If my episode isn't good enough, please keep it inside as it kinda destroys my urge to keep playing... thank you

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 18
Reputation: 120
Posts: 667
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #5by Yoshi021 » 22 Jun 2018, 17:30

You can also find a list in here
https://wohlsoft.ru/pgewiki/Sysval_(TeaScript)
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest