npc_leash_set_unbreakable(name, unbreakable) |
|
Parameters: |
name | | (string) name of the NPC |
unbreakable | | (boolean) set to true to make the leash unbreakable, or false to make it breakable |
|
Returns: |
none |
|
Description: |
Make an NPC's leash breakable/unbreakable. An NPC's leash can be broken normally under certain circumstances (e.g.: fleeing). Making the leash unbreakable overrides this behavior. |
|
|
back to index | SR3 Script Action Documentation Last updated: Thu, 07 Apr 2011 21:49:11 |