mirror of
https://github.com/emagi/eq2emu
synced 2026-08-12 18:23:04 -04:00
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