[ACS] ENTER but only for the first join?

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Cutman
 
Posts: 66
Joined: Mon Jun 04, 2012 2:25 pm
Contact:

[ACS] ENTER but only for the first join?

#1

Post by Cutman » Thu Jul 26, 2018 10:14 am

I need an ENTER script that only triggers upon the player first joining the game, but not after hitting spectate and rejoining again. Is there any way to do this? DISCONNECT scripts also trigger when a player hits spectate so I can't even have a server variable to keep track of that.

User avatar
Ænima
Addicted to Zandronum
Posts: 3579
Joined: Tue Jun 05, 2012 6:12 pm

Re: [ACS] ENTER but only for the first join?

#2

Post by Ænima » Fri Jul 27, 2018 12:49 am

Have that script flip a boolean switch? And also make that script instantly terminate if it finds that the bool is already positive?
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Post Reply