npc_respawn_after_death_time_override(name, respawn_time, quick_corpse_cleanup) |
|
Parameters: |
name | | (string) name of the NPC |
respawn_time | | (integer) respawn time, in ms |
quick_corpse_cleanup | | (boolean) set to true to clean up the NPC's corpse soon after death, or false to wait the normal amount of time |
|
Returns: |
none |
|
Description: |
Override how long it takes for an NPC to respawn after dying. The respawn time is measured not from time of death, but from the time the NPC's corpse is cleaned up and removed from the world. This normally takes place about 15 to 25 seconds after death. Set the quick_corpse_cleanup flag to true to greatly reduce the time between death and corpse cleanup (~3 seconds). |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |