Scripting/Console commands list

This section will document all the scripting commands, which are also the @commands you can use in the in-game console.

Here’s the list of commands. Basically, the page of any command should contain the description from Nival script functions pdf manual. Then, any addition is welcome if you have some more experience with it.

Generic Functions

On the Adventure Map

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()
TalkBoxForPlayers()
TeachHeroSpell()
TransformTown()
Trigger()
UnblockGame()
UnreserveHero()
Win()

In Combat

In Town

Tutorial

scripting/list_of_commands.txt · Last modified: 2008/10/26 19:40 by warmonger1
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0