Skip to content

allow to make npcs sit

Administrator requested to merge github/fork/Helianthella/sit into master

Created by: Helianthella

  • new builtin: setnpcdirection <dir>, <sit bool>, <save bool>[, <npc name>];
  • new atcommand: @npcdirection <dir> <action> <npc name> (implies save)

valid actions for the atcommand:

  • 2 => DamageType::SIT
  • 3 => DamageType::STAND

For the builtin, if you set the save bool to 1, it will save so other players that enter the area will see the modifications. If the save bool is 0, it will not save for real so it only sends to the attached rid. If you do not save and need to send to all in area then use an areatimer

Merge request reports