Skip to content

set_scenario_points

Ryzom Core Wiki edited this page Jul 8, 2024 · 3 revisions

title: Set Scenario Points description: published: true date: 2023-03-16T23:11:26.166Z tags: editor: markdown dateCreated: 2023-03-16T22:29:13.334Z

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.

Clone this wiki locally