[Command] getCreature
Posted: Mon Nov 01, 2021 9:31 pm
getCreature()
USE:
Get a random creature NPC.
This function is very simple right now with the first implementation of creature NPCs, but it will most likely evolve over time.
TYPE: Command, Non-Ref
RETURNS: Actor
THEME: Creature
COMPARE: getCompanionCreature
EXAMPLE:
USE:
Get a random creature NPC.
This function is very simple right now with the first implementation of creature NPCs, but it will most likely evolve over time.
TYPE: Command, Non-Ref
RETURNS: Actor
THEME: Creature
COMPARE: getCompanionCreature
EXAMPLE:
Code: Select all
Actor = getCreature(); If Random(70, 100) < Actor:fitness