Skip to main content

PlatformCreateCharacter

Callable

  • PlatformCreateCharacter(CharacterName: string, StatusName: string, X: number, Fix?: boolean, Combat?: boolean, Dialog?: string, FaceLeft?: boolean, ReplaceAtPos?: number): any

  • Creates a character in the current room and returns it


    Parameters

    • CharacterName: string

      The character name to load

    • StatusName: string

      The status of that character

    • X: number

      The X position of the character

    • Fix: boolean = null

      TRUE if the character won't move

    • Combat: boolean = null

      TRUE if the character will deal and receive combat damage

    • Dialog: string = null

      The dialog name to open when talking to that character

    • FaceLeft: boolean = null

      TRUE if the character should be facing left

    • ReplaceAtPos: number = null

      The position in the index to replace the char, if NULL we add it

    Returns any

    • Returns the platform character