WhiteEagle Posted June 27, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 8 hours ago Share Posted June 27, 2018 Is there a way to make the soundeffect play on the whole Server? Like this, but without enter every map. *soundeffectall "<effect filename>",<type>{,"<map name>"}{,<x0>,<y0>,<x1>,<y1>}; Would be nice for announcements~ Quote Link to comment Share on other sites More sharing options...
0 hakuren Posted June 27, 2018 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share Posted June 27, 2018 you may try this Quote prontera,156,169,3 script Sample 123,{ .@id = getcharid(3); addrid 0; soundeffect "<effect filename>",<type>; if ( .@origin == .@id ) close; else end; } this will send soundeffect to all the player of your server the secret is addrid command Quote *addrid(<type>{,<flag>{,<parameters>}}); This command will attach other RIDs to the current script without detaching the invoking RID. It returns 1 if successful and 0 upon failure. <type> determines what RIDs are attached: 0: All players in the server. 1: All players in the map of the invoking player, or the invoking NPC if no player is attached. 2: Party members of a specified party ID. [ Parameters: <party id> ] 3: Guild members of a specified guild ID. [ Parameters: <guild id> ] 4: All players in a specified area of the map of the invoking player (or NPC). [ Parameters: <x0>,<y0>,<x1>,<y1> ] 5: All players in the map. [ Parameters: "<map name>" ] Account ID: If type is Account ID, attach the specified account ID. <flag> can prevent certain players from being attached: 0: Players are always attached. (default) 1: Players currently running another script will not be attached. 1 1 Quote Link to comment Share on other sites More sharing options...
0 WhiteEagle Posted June 27, 2018 Group: Members Topic Count: 79 Topics Per Day: 0.02 Content Count: 480 Reputation: 67 Joined: 08/28/12 Last Seen: 8 hours ago Author Share Posted June 27, 2018 (edited) Wow nice thanks. I'll test it. Feedback: Works perfect. Thanks mate~ Edited June 27, 2018 by WhiteEagle Quote Link to comment Share on other sites More sharing options...
Question
WhiteEagle
Is there a way to make the soundeffect play on the whole Server?
Like this, but without enter every map.
Would be nice for announcements~
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.