656 B
656 B
Function: Shout(spawn, message, player, dist, language)
Description: Send's a shout from the Spawn into the general vicinity based on the distance provided, or otherwise the player if specified.
Parameters:
spawn
(Spawn) - Spawn object representingspawn
.message
(string) - Stringmessage
.player
(Spawn) - Spawn object representingplayer
.dist
(int32) - Integer valuedist
.language
(int32) - Integer valuelanguage
.
Returns: None.
Example:
-- From SpawnScripts/Castleview/BupipaGuryup.lua
function Tryout3(NPC,Spawn)
PlayFlavor(NPC, "","Oh... this is wonderful!","happy",0,0,Spawn)
end