Unstoppable random number

Discussion and feedback on Construct 2

Post » Fri Apr 25, 2014 11:10 pm

When i put a random while setting a variable. the random doesnt stop. it keeps changing and i dont know how to stop it!

HELP PLEASE!
B
2
Posts: 3
Reputation: 156

Post » Fri Apr 25, 2014 11:32 pm

The event sheet is run every frame so if the action is under a condition that is continually true the action will continually run. Perhaps try adding a "trigger once" condition, or if maybe you could put it under a "start of layout" condition. It really depends on what you're doing.
B
94
S
33
G
118
Posts: 5,396
Reputation: 75,853

Post » Sat Apr 26, 2014 1:27 am

where can i find trigger once?
B
2
Posts: 3
Reputation: 156

Post » Sat Apr 26, 2014 10:40 am

It is a system condition
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
54
S
22
G
18
Posts: 2,123
Reputation: 17,150

Post » Sat Apr 26, 2014 12:11 pm

@rhp9

Sorry to be blunt, but reading the manual might help before posting.
B
51
S
16
G
9
Posts: 1,098
Reputation: 11,252

Post » Sat Apr 26, 2014 2:27 pm

spongehammer wrote:@rhp9

Sorry to be blunt, but reading the manual might help before posting.


Totally agree , so many want a short cut .
What I know would fill a Book , what I don't know would fill a Library
B
37
S
12
G
29
Posts: 331
Reputation: 16,499


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 13 guests