set_scenario_points - ryzom/ryzomcore GitHub Wiki


title: Set Scenario Points description: published: true date: 2023-03-12T22:17:47.536Z tags: editor: markdown dateCreated: 2023-03-12T22:17:44.064Z

setScenarioPoints

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}

Syntax

()setScenarioPoints(scenarioInstance: f, scenarioPoints: f)

Arguments

  • scenarioInstance (float): The scenario instance.
  • scenarioPoints (float): The scenario points.

Example

()setScenarioPoints(114, 42);

This example code calls the CAnimationModule::setScenarioPoints function with the scenario instance 114 and scenario points 42.

⚠️ **GitHub.com Fallback** ⚠️