new player handling (mid-game join)

new player handling (mid-game join)

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

new player handling (mid-game join)

Post by SirMaverick »

How does lua see players that join mid-game? PlayerChanged call-in? Anything else?
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

Re: new player handling (mid-game join)

Post by slogic »

Try to detect if PlayerRemoved(playerID, reason) is called also.

I don't see other suitable callins. You may check the list manually: rts\System\EventHandler.h
Post Reply

Return to “Lua Scripts”