hi,
I'm wondering if its possible to change the active player 1. I'm trying to modify the curren SC Master Map
The idea is that obsevers can vote if they want to play
and if the current player accepts the observer gets to play
Is somehting like that possible?
if i remeber correctly there is a global variable called Player_User or sth like that which is holding the Player number.
if it's used correctly everywhere inside the trigges u could try to change that number (also u have to mention its not a const any longer) ,but i think u have to do a bit more changes to get this to work
if i remeber correctly there is a global variable called Player_User or sth like that which is holding the Player number.
I am pretty sure, there is no such thing.
However, this points in the right direction: You can create a similar variable yourself, and modify any trigger action, which specifically targets player 1 and make it use the variable instead. Then you might need additional triggers to give all units etc to the player currently playing; also, you will need to show the needed dialogs to that player and hide it for other ones etc etc. You get the idea.
Ok so i told my self damn it lets give it a try already today. So with youtube and that stuff i came to this code for Dialogs and player counts.
But as soon as i start the map i'll get a blackscreen and it stays that way
Because it's too much code i added the map to the attachement.
I changed the attribute of PLAYER_USER to none constant
oh yeah uhm the folder "Vote" is from me and i add this line to
the bank initialization "trriger run vote..."
+ the trigger vote in the folder "warp menu"
i dont get ur idea right.. u wanted to create a vote to change the active player to one of the observers.
When is the vote triggered? after bank init? why? ok and what should be the char select for?
maybe i dont understad it because i never played scmaster but it looks a bit strange to me.
Yes you got the idea right and it gets triggered after the bank init.
why not ;) ?
char select are functions to get the pressed button id and that stuff
hi, I'm wondering if its possible to change the active player 1. I'm trying to modify the curren SC Master Map The idea is that obsevers can vote if they want to play and if the current player accepts the observer gets to play Is somehting like that possible?
@bookerTier: Go
if i remeber correctly there is a global variable called Player_User or sth like that which is holding the Player number. if it's used correctly everywhere inside the trigges u could try to change that number (also u have to mention its not a const any longer) ,but i think u have to do a bit more changes to get this to work
Fishy
I am pretty sure, there is no such thing.
However, this points in the right direction: You can create a similar variable yourself, and modify any trigger action, which specifically targets player 1 and make it use the variable instead. Then you might need additional triggers to give all units etc to the player currently playing; also, you will need to show the needed dialogs to that player and hide it for other ones etc etc. You get the idea.
@Kueken531: Go
Taken a screenshot of the variable as found in the original map
@Fishy013: Go
thanks i actually already gave up ;) but good to know that something like that would be possible, maybe in the future i'll try it again
Ok so i told my self damn it lets give it a try already today. So with youtube and that stuff i came to this code for Dialogs and player counts. But as soon as i start the map i'll get a blackscreen and it stays that way Because it's too much code i added the map to the attachement. I changed the attribute of PLAYER_USER to none constant
@bookerTier: Go
What changes have you made to the map? Where are they? (trigger folder) changing PLAYER_USER to none constant hasn't been the only change i think^^
@Fishy013: Go
oh yeah uhm the folder "Vote" is from me and i add this line to the bank initialization "trriger run vote..." + the trigger vote in the folder "warp menu"
@bookerTier: Go
Don't know if its looking that ugly on ur computer too but on my side there arent even names for the triggers oO
@Fishy013: Go
well no i got names and values. so LOL....
@bookerTier: Go
maybe safe it again and do a reupload .. dont know why its bugged
ok in my ast post i posted the galaxy code anyhow here is the map again
@bookerTier: Go
i dont get ur idea right.. u wanted to create a vote to change the active player to one of the observers. When is the vote triggered? after bank init? why? ok and what should be the char select for? maybe i dont understad it because i never played scmaster but it looks a bit strange to me.
@Fishy013: Go
Yes you got the idea right and it gets triggered after the bank init. why not ;) ? char select are functions to get the pressed button id and that stuff
"i'll get a blackscreen" ... i dont .. so far the game starts normally for me