Blockland Forums > Help
Can i pause the game? or stop player?
(1/1)
kimawho:
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)
Mocha Furrier:
I think it is impossible to "pause" the game.

Someone please correct me if i'm wrong.
phflack:
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


--- Quote from: Mocha Furrier on February 01, 2013, 11:16:33 AM ---I think it is impossible to "pause" the game.

Someone please correct me if i'm wrong.

--- End quote ---
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
kimawho:
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
Greek2me:
You can go to Suggestions & Requests and suggest that somebody make an event to set everybody's playertype.
Navigation
Message Index

Go to full version