by Marisa the Magician » Sat Apr 06, 2019 5:54 am
This probably is unimportant because, y'know, bots, but still...
Provided
here is a tiny wad that prints when a player enters/respawns/dies/disconnects both through an event handler and through acs.
Here's a sample of what's happening: Everything works as expected EXCEPT PlayerEntered on ZScript doesn't get called for bots.
Code: Select all
MAP01 - Entryway
16 bots read from bots.cfg
[ZScript] Player Marisa entered.
[ACS] Player Marisa entered.
]addbot
V234 joined the game
[ACS] Player V234 entered.
You got the chaingun!
V234 was mowed down by Marisa's chaingun.
[ZScript] Player V234 died.
[ACS] Player V234 died.
[ZScript] Player V234 respawned.
[ACS] Player V234 respawned.
]removebots
[ZScript] Player V234 disconnected.
[ACS] Player V234 disconnected.
Removed all bots
This probably is unimportant because, y'know, bots, but still...
Provided [url=https://marisakirisa.me/tmp/thing.wad]here[/url] is a tiny wad that prints when a player enters/respawns/dies/disconnects both through an event handler and through acs.
Here's a sample of what's happening: Everything works as expected EXCEPT PlayerEntered on ZScript doesn't get called for bots.
[code]
MAP01 - Entryway
16 bots read from bots.cfg
[ZScript] Player Marisa entered.
[ACS] Player Marisa entered.
]addbot
V234 joined the game
[ACS] Player V234 entered.
You got the chaingun!
V234 was mowed down by Marisa's chaingun.
[ZScript] Player V234 died.
[ACS] Player V234 died.
[ZScript] Player V234 respawned.
[ACS] Player V234 respawned.
]removebots
[ZScript] Player V234 disconnected.
[ACS] Player V234 disconnected.
Removed all bots
[/code]