Jump to content
Sign in to follow this  
JacobJ

How to create a start game function?

Recommended Posts

Hello

I need some help.. I want one unit, and only this unit, to be able to start a multiplayer game. Starting the game is done by a fence that gets positioned down in the ground so the enemies can get out. At the same time a hint has to be shown, so all knows the game has started.

It is easy to make, but I want to make sure the unit that has this control not has pushed the start button by accident, so I want a hint (for him only) to be shown, wich may say; "Are you sure you want to start the game?". Then he has two options, Yes or No. The Yes option is linked to the hint that says the game has started and the fence that keeps the enemies locked is put down into the ground. If he selects No, the option to start the game is avalible again to him. All options has to disapear when the get selected.

I have tried the addaction option combined with some scripts, but it is very slow and all can access this command if they are close to the unit that has this option to start the game.

I hope there is someone here, that can help me out here.

/Jacob

Share this post


Link to post
Share on other sites

http://community.bistudio.com/wiki/Dialog_Control

If you manage to do it with Dialogs then you have clearly chosen the best option if not just use BIS_Communication stuff.

Addaction should also work if you just put in the right conditions. There is another thread just about this http://forums.bistudio.com/showthread.php?t=109547

Edited by Joshii

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×