How to add total from diceroll mechanic?

Just started using Construct 2? Post your questions here

Post » Thu Apr 28, 2016 12:13 am

Example:

Die has 6 faces. 3 Faces have a Symbol, 3 are blank.

I want to add a value for every time a random dice has a face on it.

So:

2 Die roll faces
1 Die does not.

So I want to pick the dice that do have that face, and then add it to get a total Value of 2. Also I want this value to reset every time it's rolled.


It sounds very simple at a glance, but my first attempt had a lot of issues with this. Was giving me more trouble than I originally thought. How would you attack this concept?
B
20
S
5
Posts: 108
Reputation: 1,473

Post » Thu Apr 28, 2016 1:27 am

for each die=face --> add 1 to variable.total
B
17
S
7
Posts: 21
Reputation: 1,711


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest