kts.SetRespawnType

Name

kts.SetRespawnType – set the current "respawn type" for all knights

Synopsis

kts.SetRespawnType(respawn_type)

Description

This function controls respawn behaviour. The respawn_type parameter must be one of the following strings:

Return Value

No value is returned.

Errors

If the input parameter is not one of the strings listed above, an error will result.

Notes

If both SetRespawnType and SetRespawnFunction are used, then the "respawn function" takes priority, and the "respawn type" is only used if the respawn function returned nil.

See Also

kts.GetRespawnFunction

kts.GetRespawnType

kts.SetRespawnFunction