can we know how many player there is?

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

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 23
Reputation: 15
Posts: 132
Joined: 5 Mar 2017

Post #1by Ariinui » 3 Jul 2017, 6:03

is there a way to know if there is one or two player?

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 23
Reputation: 15
Posts: 132
Joined: 5 Mar 2017

Post #2by Ariinui » 7 Jul 2017, 5:16

is that my question isn't clear or nobody knows how to do it?

luigicraft M
Marquis
Marquis
luigicraft M
Marquis
Marquis
Age: 18
Reputation: 31
Posts: 153
Joined: 26 Aug 2016
Location: Canada

Post #3by luigicraft » 10 Jul 2017, 7:32

Can you be... more precise? :boredom:

Catskart M
Count
Count
Avatar
Catskart M
Count
Count
Age: 19
Reputation: 125
Posts: 257
Joined: 29 Nov 2015
Location: France

Post #4by Catskart » 10 Jul 2017, 12:29

You can detect if there is 1 or 2 players thank to sysval(GameMode).
0 means single player mode, 1 means two player mode, 2 means battle mode.

Ariinui
Topic author, Duke
Duke
Ariinui
Topic author, Duke
Duke
Age: 23
Reputation: 15
Posts: 132
Joined: 5 Mar 2017

Post #5by Ariinui » 11 Jul 2017, 1:08

thanks


Return to “TeaScript”

Who is online (over the past 5 minutes)

Users browsing this forum: 2 guests