setstrikespeech

From Arx Libertatis Wiki
Jump to navigation Jump to search

The setstrikespeech script command is used to set the speech to play when the striking while equipped for an entity. Can also be used by the player script to set the speech for unarmed strikes or weapons without a strike speech. The sample will be played as if it was passed to speak -tp when striking.

Usage

setstrikespeech <speech*>

Context: Any Entity

Parameters:

ParameterTypeDescription
speech text or variable Localization key for the text to speak

The text key can optionally start and end with [] brackets, which are ignored.

Audio sample location

The speech audio is loaded from speech/<language>/<speech><variant>.wav.

Variant is a randomized integer randomized if there are multiple strings under the given localization key (empty for variant 1).