[Command] getCreature

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post by Raddeck »

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:

Code: Select all

Actor = getCreature(); If Random(70, 100) < Actor:fitness
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply