Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • creature_movement_template


    antz
     NOTE:  This page is auto-generated from the MAGNET DBDocs module,
                 Any changes made directly to this page will be lost when it is regenerated.

    Description of the 'creature_movement_template' table for MaNGOSThree

    This table holds informations on paths for creature_template entries and allows the behaviour to be defined along the movement path (set of waypoints).

    Template movement is usually applied to creature templates spawned by scripts, or for templates which are unique and have only one spawn.

    Note: Movement attached to a creature template will be applied to all spawns of this template, unless there is a unique movement defined for the creature guids in the creature_movement table.

    Table Notes

    This table uses the 'InnoDB' DB Engine

    The Field definitions follow:

    Field Name Field Type Nullable Key Default Value Attributes Notes
    entry mediumint(8) unsigned NO PRI NULL   Creature ID from creature_template [See creature_template.entry]
    point mediumint(8) unsigned NO PRI '0'   An index count for all movement points attached to a creature spawn.
    position_x float NO '0'   The X position for the creature's movement point.
    position_y float NO '0'   The Y position for the creature's movement point.
    position_z float NO '0'   The Z position for the creature's movement point.
    waittime int(10) unsigned NO '0'   Delay time in milliseconds
    script_id mediumint(8) unsigned NO '0'   If a script should be executed.
    textid1 int(11) NO '0'   Obsolete, Do not use this Field
    textid2 int(11) NO '0'   Obsolete, Do not use this Field
    textid3 int(11) NO '0'   Obsolete, Do not use this Field
    textid4 int(11) NO '0'   Obsolete, Do not use this Field
    textid5 int(11) NO '0'   Obsolete, Do not use this Field
    emote mediumint(8) unsigned NO '0'   Emote ID that the creature should perform.
    spell mediumint(8) unsigned NO '0'   The spell identifier.
    wpguid int(11) NO '0'   A unique identifier for this waypoint.
    orientation float NO '0'   The orientation for the creature's movement point.
    model1 mediumint(9) NO '0'   A display model identifier activated on the waypoint.
    model2 mediumint(9) NO '0'   An alternative display model identifier activated on the waypoint.

    Description of the fields

    entry mediumint(8) unsigned

    Creature ID from creature_template [See creature_template.entry]

    point mediumint(8) unsigned

    An index count for all movement points attached to a creature spawn. Starts with 1 and increments by one.

    position_x float

    The X position for the creature's movement point.

    position_y float

    The Y position for the creature's movement point.

    position_z float

    The Z position for the creature's movement point.

    waittime int(10) unsigned

    Delay time in milliseconds

    script_id mediumint(8) unsigned

    If a script should be executed, this references the db_scripts table [See db_scripts.id] with a type of 3 to form a unique ID for which the entry is valid. If not, set the value to zero.

    textid1 int(11)

    Obsolete, Do not use this Field

    textid2 int(11)

    Obsolete, Do not use this Field

    textid3 int(11)

    Obsolete, Do not use this Field

    textid4 int(11)

    Obsolete, Do not use this Field

    textid5 int(11)

    Obsolete, Do not use this Field

    emote mediumint(8) unsigned

    Emote ID that the creature should perform.
    List of often used emote IDs and what they do ie. 65 Makes the creature look dead by lying on the ground.

    Value Emote Name
    10 EMOTE_STATE_DANCE
    12 EMOTE_STATE_SLEEP
    13 EMOTE_STATE_SIT
    26 EMOTE_STATE_STAND
    28 EMOTE_STATE_WORK
    64 EMOTE_STATE_STUN
    64 EMOTE_STATE_DEAD
    68 EMOTE_STATE_KNEEL
    70 EMOTE_ONESHOT_WAVE_NOSHEATHE
    71 EMOTE_ONESHOT_CHEER_NOSHEATHE
    92 EMOTE_ONESHOT_EAT_NOSHEATHE
    173 EMOTE_STATE_WORK_NOSHEATHE
    379 EMOTE_STATE_FISHING
    380 EMOTE_ONESHOT_FISHING
    381 EMOTE_ONESHOT_LOOT
    382 EMOTE_STATE_WHIRLWIND
    392 EMOTE_STATE_LAUGH
    398 EMOTE_STATE_CANNIBALIZE
    400 EMOTE_STATE_DANCESPECIAL
    412 EMOTE_STATE_EXCLAIM
    415 EMOTE_STATE_SIT_CHAIR_MED

    spell mediumint(8) unsigned

    The spell identifier. The value has to match with a spell identifier defined [See Spell.dbc]. This refers to a spell which should be cast on this waypoint.

    wpguid int(11)

    A unique identifier for this waypoint.

    orientation float

    The orientation for the creature's movement point. Measured in radians, 0 is north on the mini-map and pi is south on the mini-map.

    model1 mediumint(9)

    A display model identifier activated on the waypoint. This references the unique ID in the "creature_model_info" table [See creature_model_info.ID] for which this entry is valid.

    model2 mediumint(9)

    An alternative display model identifier activated on the waypoint. This references the unique ID in the "creature_model_info" table [See creature_model_info.ID] for which this entry is valid.


    auto-generated by the getMaNGOS.eu MAGNET dbdocs module

    Edited by Antz


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use