Sapheros
Member
Me and Lat' have been working on a script towards an unofficial riders mod no one wants. Along the way, we came up with different ideas, one of them was to use the pointless-in-race-mode teleporter monitor as a workaround for adding a monitor to the random monitor cycle as the air monitor, which rewarded players air when they receive it....
Except it doesn't do jack shit.
We tried to use the MainCfg to create a deathstate for one of the frames, but it was also hopeless.
We're now wondering how would we reward a player a variable through the MobjDeath hook, or do we need a different hook?
Except it doesn't do jack shit.
We tried to use the MainCfg to create a deathstate for one of the frames, but it was also hopeless.
We're now wondering how would we reward a player a variable through the MobjDeath hook, or do we need a different hook?
Code:
addHook("MobjDeath", function(mo, toucher)
toucher.player.air = $1 + 30
S_StartSound(player.mo, 135)
end, MT_MIXUPICO)
Last edited: