Jump to content
Sign in to follow this  
bloodxgusher

Creating ingame Menu's (MP)

Recommended Posts

Hello everyone.

I did a search for menu creation but turned up short. Hoping someone with more expertise than me can link me or get me started.

So basically I just want to create a ingame menu in a MP match that can be activated by players.

This menu that I want to create will allow players to type a short message and have it broadcast for the entire server to see.

So far I have a AI unit who is stationary in the middle of Chernogorsk and at anytime a player who is connected to the server can come up to this unit, Select the "Broadcast message" that I added to the action menu of the unit. that action will then call the script that is attached and so on...

From my experiences triggers broadcast to the entire server perfectly so I was thinking I could maybe start there or incorporate it some how.

Anyone have any ideas.

Thanks for taking a loot at this. PM if you like.

Share this post


Link to post
Share on other sites

Press . or , till you see Global. Press / then type your message and press ENTER.

Globally broadcast messages in MP situations is basically just a greifing tool, or will soon be used as one. I'd think long and hard about why you need this, what it's supposed to do and how you can get the same effect without a built in spam button. :)

If it's a preset message you wanted, just have your action set a globalVarible and publicVariable it. Then have a trigger looking for that value (or a PVEH I've never used) and display the message to all clients.

Share this post


Link to post
Share on other sites

Don't worry about the griefing. That can be handled.

Think of this like a ingame message board. People on the server can use this menu to view and post messages.

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  

×