Skip to main content

PlatformCreateCharacter

Callable

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

  • Loads a room and it's parameters


    Parameters

    • CharacterName: string

      The character name to load

    • StatusName: string

      The status of that character

    • X: number

      The X position of the character

    • optionalFix: boolean = undefined

      TRUE if the character won't move

    • optionalCombat: boolean = undefined

      TRUE if the character will deal and receive combat damage

    • optionalDialog: string = undefined

      The dialog name to open when talking to that character

    • optionalFaceLeft: boolean = undefined

      TRUE if the character should be facing left

    • optionalReplaceAtPos: number = undefined

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

    Returns Character

    • Returns the platform character