[JASS] Custom script

Status
Not open for further replies.
Level 1
Joined
Oct 25, 2016
Messages
4
hello guys

how to to change custom script to triggeringplayer

event: redplayer type "-music nightelf1"
blueplayer type "-music nightelf1"
etc.

action:
Sound - Stop music Immediately
Custom script: call PlayMusic (udg_Music[1])

for random
when player type -music random

Custom script: call PlayMusic (udg_Music[GetRandomInt(1,22)])

just like dota thank you.
 
Status
Not open for further replies.
Back
Top