Instantane de reference de la reprise de migration (2026-09-29). Contient GI.uasset tel que trouve (copie UE4 identique a 4.27, MD5 F4550DA5DC05FC005400CDCA2FC123C9). Ajouts de ce commit : .gitattributes (aucune conversion de fin de ligne), regles .gitignore CHG-001, Tools/ (Snapshot, Restore, AssetHeaders), empreintes L0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
No EOL
728 B
Text
11 lines
No EOL
728 B
Text
Actor stats are referenced with {ActorVariable}:{StatID} like 'CurrentCompanion:interpersonal' or 'Player:intelligence'. The latter can simply be expressed as 'intelligence' (i.e. if no actor variable is specified, the player is assumed.)
|
|
|
|
Random(min, max) is used to generate a random float between a min float and a max float for example:
|
|
Random(0, 100) will generate a random value between 0 and 100
|
|
|
|
EXAMPLE:
|
|
If Random(0, 100) < interpersonal
|
|
CurrentCompanion:rapportwithplayer += Random(0, 1)
|
|
Endif
|
|
|
|
In the above example, the higher the player's interpersonal skill, the more likely the current companion's rapport with the player will increase. This increase is by a random amount between 0 and 1. |