Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow String as IDC #46

Open
xetra11 opened this issue Apr 8, 2019 · 5 comments
Open

Allow String as IDC #46

xetra11 opened this issue Apr 8, 2019 · 5 comments

Comments

@xetra11
Copy link

xetra11 commented Apr 8, 2019

I am used to define global vars for my IDC so I can easily refactor the numbers if needed.
Therefore my IDC look like that:

class CoopR_TaskBoard_Document_Recon: ctrlButtonPictureOnly
		{
			idc = GUI_ID_RECON_DOCUMENT;
			x = safeZoneX + safeZoneW * 0.35375;
			y = safeZoneY + safeZoneH * 0.20444445;
			w = safeZoneW * 0.3375;
			h = safeZoneH * 0.55;
			text = "x\coopr\addons\tasks\data\images\taskboard_combat.paa";
		};

Can you make the idc field in ADC allow strings so it's possible to have this already done by export?

@kayler-renslow
Copy link
Owner

Set idc to Raw and you can put anything you want

@xetra11
Copy link
Author

xetra11 commented Apr 9, 2019

Ok sorry didnt know

@xetra11 xetra11 closed this as completed Apr 9, 2019
@xetra11 xetra11 reopened this Apr 9, 2019
@xetra11
Copy link
Author

xetra11 commented Apr 9, 2019

Edit: Restatet Question

Now found that IDD is not possible to set as String/Global

https://imgur.com/a/vhpi3le

@kayler-renslow
Copy link
Owner

The display properties are pretty limited. This will be resolved in a future version. For now, I guess you'll just have to edit the exported text to your liking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants