- Status Closed
- Percent Complete
- Task Type Bug Report
- Category Server
- Assigned To No-one
- Operating System Linux
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#54 - et_obituary(...) not using return value
PLEASE FILL THIS FORM PROPERLY TO MAKE SURE WE HAVE ENOUGH INFORMATIONS TO REPRODUCE THE BUG AND TRY TO FIX IT !
THE FOLLOWING FORM HAS BEEN MODIFIED ON MARCH 12th 2011.
* N!tmod version : 2.2
* Build Date (!about cmd) : May 31 2012
* Map : unrelated
* Omni-Bot enabled ? : yes
* If yes, bot count : unrelated
* Gametype : 2 objective
* Any custom mapscripts ? If yes, provide link : unrelated
* Any LUA modules ? If yes, provide link : unrelated
* Happens in Warmup/Playing/Intermission ? : unrelated
* Explain the bug :
The lua function et_obituary(..) should replace with its return value, the obituary message from ET.
But it does not.
Could we also get a list of all meansOfDeath in N!tmod? Even though its possible to get that info through et_print().
(customObit) = et_Obituary( victim, killer, meansOfDeath )
Called whenever a player is killed. *Modules should return a string (customObit) to override the default obituary or nil to leave it as it is.
* Additional informations :
Closed by N!trox*
Monday, 31 May 2021, 00:49 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in N!tmod 2.3.2 (Build 20201228-1)
Monday, 31 May 2021, 00:49 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in N!tmod 2.3.2 (Build 20201228-1)