Displaying variable value on screen, somehow.

Tue 11. Apr 2017, 14:05

Hello,
I'm new here and I'm just discovering this great tool.
I just wonder is it possible (somehow) to display value of a variable?
I'm creating a character creation sheet, where player has a 3 stats (variables) and a few points to add to each stats from the pool of points. Is it possible to display available points (it's also a variable) in simulation mode?
User avatar
szczypiorofix
 
Posts: 2
Joined: Tue 11. Apr 2017, 13:29

Re: Displaying variable value on screen, somehow.

Wed 12. Apr 2017, 08:26

Hello szczypiorofix,

You can display variable states during simulation mode with the property inspector.

Click and drag at the right side of the screen to split the view (or create a new window, if you work with two monitors).

1_2017-04-12_092806.jpg
1_2017-04-12_092806.jpg (218.53 KiB) Viewed 13282 times


Double click the Property Inspector icon to start it.

2_2017-04-12_092747.jpg
2_2017-04-12_092747.jpg (197.58 KiB) Viewed 13282 times


Start your simulation at the desired spot, then select the “Variable state” tab in the Property Inspector.

3_2017-04-12_093616.jpg
3_2017-04-12_093616.jpg (150.36 KiB) Viewed 13282 times


Now, you can see how your variables change during the simulation.

4_2017-04-12_093647.jpg
4_2017-04-12_093647.jpg (142.96 KiB) Viewed 13281 times



Best regards,
Karsten
[Articy] Karsten Feyerabend
Articy Staff
Articy Staff
 
Posts: 23
Joined: Thu 16. Mar 2017, 16:11

Re: Displaying variable value on screen, somehow.

Wed 12. Apr 2017, 09:59

Thanks!
That's not exactly what I was looking for but was helpful :) .

I thought it's possible to print/draw a value of a variable somewhere in instructions, flow fragments etc. eg "print( getProp( getObj("Chr_Manfred")), "DisplayName"), but I suppose it's impossible in Articy Draft but e.g. Unity.
User avatar
szczypiorofix
 
Posts: 2
Joined: Tue 11. Apr 2017, 13:29

Re: Displaying variable value on screen, somehow.

Wed 12. Apr 2017, 10:46

Hi,

If you use print(), the result will be visible in the Log tab. It is only usable in instructions and output-pins, though.

E.g. print(Skills.SkillSword) to display the variable value.


Best regards,
Karsten
[Articy] Karsten Feyerabend
Articy Staff
Articy Staff
 
Posts: 23
Joined: Thu 16. Mar 2017, 16:11

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 19 guests

Who We Are
Contact Us
Social Links