How set value from Sprite variable to Global Variable

Get help using Construct 3!

Post » Fri Oct 27, 2017 11:30 am

Sprite (enemy) got variable X, and when he died this value should go to Global Variable Y.
Is it possible?
Thanks!
Gry, porady, tipy -

Promote Your Game. Submit App!
http://www.gsmgry.pl/
B
10
S
4
G
2
Posts: 199
Reputation: 2,386

Post » Fri Oct 27, 2017 1:10 pm

marcinkowski wrote:Sprite (enemy) got variable X, and when he died this value should go to Global Variable Y.
Is it possible?
Thanks!

when enemy die -> system action set GlobalVariableY to enemy.variableX value
B
19
S
8
G
8
Posts: 595
Reputation: 6,915

Post » Fri Oct 27, 2017 2:38 pm

NN81 wrote:
marcinkowski wrote:Sprite (enemy) got variable X, and when he died this value should go to Global Variable Y.
Is it possible?
Thanks!

when enemy die -> system action set GlobalVariableY to enemy.variableX value

@NN81
yes sure, that's works Thanks man!
Gry, porady, tipy -

Promote Your Game. Submit App!
http://www.gsmgry.pl/
B
10
S
4
G
2
Posts: 199
Reputation: 2,386


Return to How do I...?

Who is online

Users browsing this forum: No registered users and 1 guest