A question about Sysval

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

MACKACHE
Topic author, Lord
Lord
Avatar
MACKACHE
Topic author, Lord
Lord
Age: 16
Reputation: 108
Posts: 522
Joined: 22 Aug 2016
Website Twitter

Post #1by MACKACHE » 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.
ImageImage

Lx Xzit M
Moderator
Moderator
Avatar
Lx Xzit M
Moderator
Moderator
Reputation: 402
Posts: 757
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
VISIT MY YOUTUBE CHANNEL! LX XZIT
Join our 38A Discord server!

Image

MACKACHE
Topic author, Lord
Lord
Avatar
MACKACHE
Topic author, Lord
Lord
Age: 16
Reputation: 108
Posts: 522
Joined: 22 Aug 2016
Website Twitter

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

Alright, thanks for the answer.
ImageImage

Spectra
Duke
Duke
Avatar
Spectra
Duke
Duke
Age: 22
Reputation: 6
Posts: 125
Joined: 30 Jan 2018
Location: The dream star
YouTube

Another variable

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

It seems like Dragoncoincount is one too, but it seems to not do much
-No interesting comments here-

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 22
Reputation: 170
Posts: 693
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