
In my ACS script, I want to save the player's TID in a variable so I can check his health later on.
Hence, I copied the sample script from the PlayerNumber article on the wiki.
Code: Select all
int playerTID = 0;
script 1 ENTER
{
playerNum = Thing_ChangeTID (0, 1000+ PlayerNumber());
print(i:playerNum);
}