Condition inside XML - File

Get help using Construct 2

Post » Sun Feb 14, 2016 7:04 am

Hey guys,

Can somebody tell me how i can write a condition into an xml file? For example, i have a variable which sets the language of the game. Like 1 for english, 2 for german etc. Now i wanna write all the dialogue into an xml file. Now i need to check the condition "if english-variable is 1" then ......... How would i write a variable check inside the xml document?
B
11
S
3
G
2
Posts: 76
Reputation: 1,891

Post » Sun Feb 14, 2016 12:01 pm

You need to follow this tutorial.
I only occasionally visit - I'm learning C# for Unity, but c2 is still a respectable game engine imo....
B
69
S
18
G
65
Posts: 2,195
Reputation: 41,465


Return to How do I....?

Who is online

Users browsing this forum: Darknessed, FabianB, RobertMKD and 12 guests