Cette section^parlera de toutes les commandes de script, qui sont aussi les comandes que vous pouvez utiliser dans la console in-game.
Voici la liste des commandes. Normalement, la page de chaque commande devrait contenir la description du manuel pdf de Nival. Enuite, des ajouts arriveront si vous avez de l’expérience en la matière.
GetGameVar()
length()
GetDifficulty()
Load()
mod()
print()
random()
Save()
SetGameVar()
Sleep()
sqrt()
startThread()
AddHeroCreatures()
AddObjectCreatures()
BlockGame()
CalcHeroMoveCost()
CanMoveHero()
ChangeHeroStat()
CreateMonster()
DeployReserveHero()
EnableAIHeroHiring()
EnableHeroAI()
IsObjectExists()
GenerateMonsters()
GetCurrentPlayer()
GetDate()
GetHeroCreatures()
GetHeroLevel()
GetHeroStat()
GetObjectCreatures()
GetObjectiveProgress()
GetObjectiveState()
GetObjectOwner()
GetObjectsInRegion()
GetObjectPosition()
GetPlayerHeroes()
GetPlayerResource()
GetTownBuildingLevel()
GetTownBuildingLimitLevel()
GetTownBuildingMaxLevel()
GetTownHero()
GiveArtefact()
LevelUpHero()
GiveHeroSkill()
GiveHeroWarMachine()
HasArtefact()
HasBorderguardKey()
HasHeroSkill()
HasHeroWarMachine()
IsHeroAlive()
IsHeroLootable()
IsObjectEnabled()
IsObjectInRegion()
IsObjectiveVisible()
IsObjectVisible()
IsRegionBlocked()
KnowHeroSpell()
Loose()
MarkObjectAsVisited()
MessageBox()
MoveCamera()
MoveHero()
MoveHeroRealTime()
GetAllNames()
OpenCircleFog()
OpenRegionFog()
Play2DSound()
Play3DSound()
PlayObjectAnimation()
RazeTown()
RegionToPoint()
RemoveArtefact()
RemoveHeroCreature()
RemoveHeroWarMachine()
RemoveObject()
RemoveObjectCreature()
ResetHeroCombatScript()
ResetObjectFlashlight()
SetAIHeroAttractor()
SetAIPlayerAttractor()
SetCombatLight()
SetHeroCombatScript()
SetHeroLootable()
SetAmbientLight()
SetObjectEnabled()
SetObjectiveProgress()
SetObjectiveState()
SetObjectiveVisible()
SetObjectFlashLight()
SetObjectOwner()
SetObjectPosition()
SetPlayerResource()
SetPlayerStartResources()
SetRegionBlocked()
SetTownBuildingLimitLevel()
SetWarfogBehaviour()
ShowFlyingSign()
SiegeTown()
StartCombat()
StartCutScene()
StartDialogScene()
StopPlaySound()
TeachHeroSpell()
TransformTown()
Trigger()
UnblockGame()
UnreserveHero()
Win()
Prepare()
Start()
IsHuman()
IsComputer()
SetControlMode()
EnableAutoFinish()
Finish()
GetAttackerHero()
GetAttackerCreatures()
GetAttackerWarMachines()
GetAttackerWarMachine()
GetDefenderHero()
GetDefenderCreatures()
GetDefenderWarMachines()
GetAttackerWarMachine()
GetDefenderBuidings()
GetDefenderBuiding()
IsAttacker()
IsHero()
IsCreature()
IsWarMachine()
IsBuilding()
GetHeroName()
GetCreatureType()
GetCreatureNumber()
GetWarMachineType()
GetBuildingType()
GetUnitPosition()
AddCreature()
EnableCinematicCamera()