Chris07 Posted August 30, 2013 Report Share Posted August 30, 2013 I want to create a command that tells a vehicle to park at a particular location. Instead of cluttering up my main command panel with 4 additional icons, I would much prefer to have the commands grouped under a single button, mush like the "get item" commands are:Example:I select a vehicle and the command buttons appear for the vehicle. One of the commands is a "sendToPost" command button. When I click that button, four more buttons appear and I am given the option to select either one of the four post locations or to return to the main command screen.How do i set this up? Thanks for the help!Note: this is for freeplay/multiplayer Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 30, 2013 Report Share Posted August 30, 2013 Not at my PC right now, but the method would involve removing all of the commands on the vehicle, adding the new ones, and reversing the process after running the new commands. I started out with that method when I made a Radio script for people, but I ended up using a prototype replacement system using separate people with just the call commands and a command to "deactivate" the radio. That shortcut probably wouldn't work too easily here, and I'm unsure of how to adapt the method for this situation. Quote Link to comment Share on other sites More sharing options...
Chris07 Posted August 30, 2013 Author Report Share Posted August 30, 2013 So I would write a command that would remove all commands from the vehicle and add only the four commands I want along with a return button. If any of the buttons are clicked they execute their given command then add all of the commands back? Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 30, 2013 Report Share Posted August 30, 2013 Pretty much. Quote Link to comment Share on other sites More sharing options...
Quincy Posted August 30, 2013 Report Share Posted August 30, 2013 That is a really interesting way to do it, I've been wondering how to do something like that. Thanks Hereweard Fyning Quote Link to comment Share on other sites More sharing options...
The Loot Posted August 30, 2013 Report Share Posted August 30, 2013 Concept came from the station dispatching in the Copenhagen mod. They used remove and assign scripting to make a multi-menu dispatching system, and I looked into it for my initial ideas. Quote Link to comment Share on other sites More sharing options...