Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

spectating players still seen as spectators even when assigned to a player

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
User avatar
JakSparro98
Superfighter
Superfighter
Posts: 327
Joined: Fri Jul 15, 2016 7:56 pm
Started SFD: PreAlpha 1.0.5
Location: Rome, Italy
Gender:
Age: 19

spectating players still seen as spectators even when assigned to a player

Post by JakSparro98 » Tue Jan 16, 2018 7:09 pm

When a spectating player is assigned to a player through script the Spectating value in the IUser instance still returns true, futhermore the "spectating" message does not disappear and no death message/ sound is thrown when the player dies.

Map example (needs to be tested outside map editor with two players connected, the second must join after the game is already started).
2 x

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1065
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 28

Post by Gurt » Sun Mar 11, 2018 1:11 pm

Fixed after Beta 1.0.2c
1 x
Gurt

Locked

Who is online

Users browsing this forum: No registered users and 1 guest