set_scenario_points - ryzom/ryzomcore GitHub Wiki
title: Set Scenario Points description: published: true date: 2023-03-16T23:11:26.166Z tags: editor: markdown dateCreated: 2023-03-16T22:29:13.334Z
The setScenarioPoints native AI script function calls the DSS function CAnimationModule::setScenarioPoints
with the specified scenario instance and scenario points.
Note: This function requires knowledge of the DSS and should only be used by experienced developers. {.is-warning}
()setScenarioPoints(scenarioInstance: f, scenarioPoints: f)
- scenarioInstance (float): The scenario instance.
- scenarioPoints (float): The scenario points.
()setScenarioPoints(114, 42);
This example code calls the CAnimationModule::setScenarioPoints
function with the scenario instance 114
and scenario points 42
.