| 04-14-2003, 04:04 PM | #1 |
How can i play a music theme for a picked player? ive tried "pick every player in playergroup triggering player, and play (theme) for picked player...that seems to play the music for all players...what do i do? heh, and im not a noob at WE...just cant figure this out. |
| 04-14-2003, 05:41 PM | #2 |
using pick every player in player group, you would need to use play song for "picked player" triggering player is used if that player fires an event. also, when a sound, or "theme" is played, its played for all players, no exceptions. The only way around this is to use JASS and use the GetLocalPlayer() function example: if (GetLocalPlayer() == ConvertedPlayer(1) then actions endif |
| 04-14-2003, 07:32 PM | #3 |
isnt there a getlocalplayer function in umswe3.6? |
| 04-14-2003, 08:31 PM | #4 |
yea probably, but i never use the GUI triggers (now that i think about it...) |
| 04-14-2003, 09:15 PM | #5 |
uh I think hes asking how to play sound or music for a particular person and to my knowledge that is impossible. You can play sounds that are 3d however and SIMULATE the surrounding area generating the sound. But other people will hear that sound still. Sorry If anyone knows the answer to this problem I would love to hear it! Same problem with the "Select" triggers.... :( good luck! |
| 04-14-2003, 09:17 PM | #6 |
i know what he is asking, and using the get local player can play a sound only for 1 player, i know because im using it now in version 1.0.4 of my rpg, also using get local player and the SyncSelections() you can make only player 1 select a certin unit while player 2 can either do nothing or select a different unit |
| 04-14-2003, 09:19 PM | #7 | |
Quote:
pasted from another topic |
| 04-15-2003, 10:44 PM | #8 |
once again OOOOOOOOHHHHHHHH! Dakan you ARE the man. Why have I not seen anyone else talk about this. I have asked many times in the chat but noone else got this!! Great work and thank you! |
| 04-15-2003, 10:58 PM | #9 |
i have seen other posts about this, im not the one that discovered it, so im not taking credit for learning this... but i cannot recall who i learned this off, so i cant give them the proper credit... |
