Closed r-b-g-b closed 11 months ago
Description of proposed changes:
The docs say you can set a scored result using:
setActivityResult(0.5);
but that results in the message "Script did not return a boolean or scored result."
Instead you have to pass the score as a keyword argument to work.
setActivityResult(score=0.5)
Link to the document: https://docs.skillable.com/lod/activities.md#python
Screenshots (optional):
Thanks @r-b-g-b. This document has been updated.
Description of proposed changes:
The docs say you can set a scored result using:
but that results in the message "Script did not return a boolean or scored result."
Instead you have to pass the score as a keyword argument to work.
Link to the document: https://docs.skillable.com/lod/activities.md#python
Screenshots (optional):