Node book
People
Finding people, reading how they are, telling them what to do.
Finding
The player, everybody near a place.
- The player
get/Game.PlayerThis machine's own player. - All players
get/Game.PlayersEvery player in the game. - People near
get/Game.CharactersNearEverybody alive within so many metres of a place, players and NPCs.
Making
Making people of the world from kits.
State
How somebody is: alive, down, crouching, mounted.
- Is alive
get/Game.IsAliveWhether somebody is alive. - Is down
get/Character.IsDownWhether somebody is off their feet - Is crouching
get/Character.IsCrouchingWhether somebody is down low. - Crouch
call/Character.SetCrouchMakes somebody crouch or stand up. - Is sprinting
get/Character.IsSprintingWhether somebody is sprinting. - Is on a horse
get/Character.MountedWhether somebody is on a horse, getting on or getting off. - Facing
get/Character.FacingVectorWhich way somebody last moved, one metre long. - Side
get/Damagable.FactionWhich side somebody is on
Health
Hurting, healing and effects.
- Health of
get/Game.HealthSomebody's health now and the most they can have. - Hurt
call/Game.DamageHurts somebody by so much, as a hit that landed. - Heal
call/Game.HealGives somebody back so much health. - Kill
call/Game.KillKills somebody outright. - Give effect
call/Game.GiveEffectPuts an effect on somebody for so many seconds - Remove effect
call/Game.RemoveEffectTakes an effect off somebody.
Orders
Telling NPCs where to go and whom to fight.
- Move to
call/Game.TeleportPuts somebody at a place at once. - Walk to
call/Character.ScriptMoveToSends somebody walking to a place along the paths. - Stand still
call/Character.ScriptStopStops somebody walked by a graph where they are. - Take control
call/Character.TakeScriptControlTakes an NPC's legs for a graph - Let go
call/Character.ReleaseScriptControlGives an NPC back its own day after a graph walked it. - Order
Go to · Attack · Follow · Guard · Hold · Flee · Back to their day · Stop fightingTells an NPC what to do, through the same orders a game master gives - Alert
call/NpcBrain.AlertTells an NPC somebody is a threat, as if it had seen them itself. - Provoke
call/NpcBrain.ProvokeAs if somebody had struck the NPC or done what it won't stand for - Set home
call/NpcBrain.SetHomeWhere an NPC wanders round when it has no patrol. - Get up
call/NpcBrain.LeaveSpotAn NPC gets up off whatever it sits or works at.
Mind
What an NPC is thinking: who it is after, how brave it is.
- Target
get/NpcBrain.TargetWho an NPC is fighting or running from. - Is fighting
get/NpcBrain.IsFightingWhether an NPC is in a fight. - Is frightened
get/NpcBrain.IsFrightenedWhether an NPC is startled, backing off or running. - Courage
get/NpcBrain.CourageAn NPC's nerve now - Is asleep
get/NpcBrain.AsleepWhether an NPC lies asleep on a bed. - Is a lawman
get/NpcBrain.IsLawmanWhether an NPC is a soldier keeping the law. - Home
get/NpcBrain.HomeWhere an NPC lives. - Sees
call/NpcBrain.SeesWhether an NPC sees somebody now.
Stamina
Breath for sprinting, rolling, swinging and blocking.
Modding