Jump to content
Sign in to follow this  
epicface11

Dialog question

Recommended Posts

Hello everyone, I am currently in the process of creating a inventory and shop dialog but something keeps going wrong with it. Here it is.

_ok = createDialog "Inventory";

Class MyDialog {
colorBackground[] = COLOR_GRAY;
	colorText[] = COLOR_LIGHTBROWN;
	text = "Inventory;
	lineSpacing = 1;
	x = 0.71; y = 0.11;
	w = 0.23; h = 0.13;

It isn't finished or near closed to being finished but when I try to run it using addAction it says Resource inventory can't be found.

Any help would be much appreciated.

Share this post


Link to post
Share on other sites

because createdialog tries to find class inventory which doesnt exist in rsctitles

Share this post


Link to post
Share on other sites

Saying Resource MyDialog can not be found, does it matter if this script is in a file other than description.ext? As of now it is in inventory.sqf

Share this post


Link to post
Share on other sites

How would I edit that dialog so it would be a action on the action menu instead of a radio command?

Share this post


Link to post
Share on other sites

id read icemans dialog tutorial first if you havent done so and see if that will help you...

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  

×