Jump to content
Sign in to follow this  
mrbean1112

Having lots of trouble with a simple dialog task.

Recommended Posts

Hello. I've been struggling with dialogs for several weeks now. I just can't get the hang of it. I've come to the last resort, which is asking you guys for a Basic one that i can easily modify.... =\. I just need to have several selectable buttons in a menu, and when the player clicks on the button, it executes the script to him. Thats pretty much all i need, i've already created the script for adding weapons and ammo and such.

I know this probably sounds pretty stupid, but dialogs are one of the most confusing things i've ever seen.

Share this post


Link to post
Share on other sites

Hey there, back in the ofp days i created alot dialogs. But Im not sure if Arma uses the same system as ofp did. Im sure it is similiar with more advanced features probably. There was this program that you could make the dialogs with and then copy the code into the description.ext. I did a quick test to see if i could open one my old ones up but i didnt get past createdialog, apparlenty theres something diffrent there. the best way to learn would be to find a mission with dialogs in it and take a look at the frame. I may be getting into dialogs again later myself.

Share this post


Link to post
Share on other sites

Try this dialog framework.

- Merge description.ext and init.sqf (modify to suit).

- Copy all the remaining files and folders.

- Modify the 2 files: MyTestDialog.sqf & MyTestDialog.hpp, to suit.

- (Rename them later, if you know how to fix the ref's.)

- Delete the existing unwanted controls.

- Add a few extra buttons, modify the button actions to run your scripts and you're done.

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  

×