[Ohrrpgce] [ohrrpgce/ohrrpgce] "add hero" command return value doesn't work (#1186)

James Paige notifications at github.com
Sat Dec 26 15:27:53 PST 2020


Here is a strange one.

The "add hero" command is documented as returning the party slot number that the hero was added into.

However, it seems that the actual return value is always zero.

The implementation in scriptcommands.bas is quite simple, and looks correct.
Even adding the following to the end verifies that scriptret is set correctly
`debuginfo "add hero scriptret=" & scriptret`

However, to the calling script, the return value is always 0

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1186
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20201226/f4f1a46f/attachment.html>


More information about the Ohrrpgce mailing list