Poll

good question?

Good
0 (0%)
boring
3 (100%)

Total Members Voted: 3

Author Topic: Can i pause the game? or stop player?  (Read 345 times)

I want to stop player's act(move, sit, crouch, shoot & Etc...) in minigame by active button(event)
i thought change timescale, but i heard that lowest timescale is 0.2
so im think about alternative plan, using No Move Player type(I know that player just cant move, so i said alternative) and  i tried eventing like this
1.Brick_Set
2.Brick_Pause

Brick_set
onminigamejoin > player > modvariable > pause / set / 1
onminigamereset > player > modvariable > pause / set / 1
onVariabletrue > player > changedatablock > nomoveplayer

Brick_pause
onactive > brick_set > ifvalue / <var:pl:pause> / == / 1 [2 2]
or
onactive > brick_set > ifvariable / pause / == / 1

but it affect to only actived player, not all player in minigame.
what's the problem.? (Yes i know im noob, so plz Advice to me, thanks)

I think it is impossible to "pause" the game.

Someone please correct me if i'm wrong.

the no-move playertype only stops player input for movement, it doesn't stop velocity that's currently on them or turning/shooting/crouching
to make it affect everybody in the minigame, you could use zones over the whole map and then use onenterzone to check the variable and then set their playertype

I think it is impossible to "pause" the game.

Someone please correct me if i'm wrong.
doing a while loop until a certain time pauses the game, i wouldn't really recommend it though as the connection from the host to the clients will freeze while it's in the loop

then...
i cant change all player's datablock(in minigame) with out zonebrick, zone event.
really....does VCE cant build 'active->change all player datablock'...sry about that....
nevertheless VCE is most worthy event add-on i believe.
anyway thanks to advice

You can go to Suggestions & Requests and suggest that somebody make an event to set everybody's playertype.