While Loop Inside a Function

For questions about using Classic.

Post » Thu Mar 03, 2011 9:33 pm

I need to assign random equipment to NPC's but it can't exceed a certain worth.

So I have a function "Assign Equipment"

And in there, is the loop

While "Worth" is MORE than "Amount Available" = Reassign Equipment

And I can validate that it is the while loop; If I put in "Close Application" as an action it doesn't close.

Is there a known bug of this? or any ideas?
Follow me on Twitter @evgLabs
B
33
S
14
G
4
Posts: 251
Reputation: 4,049

Post » Thu Mar 03, 2011 9:47 pm

Might try adding another function.
Image Image
B
161
S
48
G
91
Posts: 7,358
Reputation: 67,271


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests