[Solved] How do I Add/Subtract Set Variable And Create it

Get help using Construct 2

Post » Wed Jun 15, 2016 7:00 am

How do I make bullet after added to weapon,
bullet limit set variable <10
my ammunition 4 after add 2 = 6 bullet
How do I spawn bullet 6?
sorry I'm bad English, thanks :D
My capx https://www.dropbox.com/s/kr0c5v2drwg7x1p/CollisionVariable.capx?dl=0
Correct, I use the concept Weapon for passenger car (Driver+passenger)
Last edited by Prass on Thu Jun 16, 2016 4:40 pm, edited 4 times in total.
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Wed Jun 15, 2016 8:06 am

Have you tried the BEGINNERS TUTORIAL yet?

Most of the questions you have asked so far are answered in this tutorial.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
80
S
34
G
40
Posts: 3,029
Reputation: 30,393

Post » Wed Jun 15, 2016 8:56 am

SoldjahBoy wrote:Have you tried the BEGINNERS TUTORIAL yet?

Most of the questions you have asked so far are answered in this tutorial.

~Sol


ok, I'm sorry Mr. because I can not found my solution
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Wed Jun 15, 2016 10:38 am

I don't think I understand exactly what you're trying to do then...

If you want to spawn a bullet, or anything else, you can use system expression "create object" or sprite action "spawn another object".

I'm not sure if your problem is creating the object, or something to do with your variables?

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
80
S
34
G
40
Posts: 3,029
Reputation: 30,393

Post » Wed Jun 15, 2016 1:06 pm

Shoot till amnunition is not empty.
Reload amnunition.

https://drive.google.com/open?id=0B1SSu ... HhqZ1dOQ1k
B
33
S
18
G
27
Posts: 2,436
Reputation: 20,336

Post » Wed Jun 15, 2016 11:36 pm

SoldjahBoy wrote:I don't think I understand exactly what you're trying to do then...

If you want to spawn a bullet, or anything else, you can use system expression "create object" or sprite action "spawn another object".

I'm not sure if your problem is creating the object, or something to do with your variables?

~Sol


Hii sorry Mr :) I use logic weapon+bullet but it did not work :|
I set maks variable 3 human , I have 1 human in car after 2 human collusion with car I have 3 human in car but after out in car only one human is out. Please help me with sample .capx
Image
Last edited by Prass on Wed Jun 15, 2016 11:43 pm, edited 1 time in total.
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Wed Jun 15, 2016 11:39 pm

99Instances2Go wrote:Shoot till amnunition is not empty.
Reload amnunition.

https://drive.google.com/open?id=0B1SSu ... HhqZ1dOQ1k


not it , Sorry :) I Please help me with sample .capx
Image
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Thu Jun 16, 2016 2:31 am

Sorry I'm just really confused now... it started at bullets and now it's about cars?

Can you post your capx of your project so I can take a look at what's going on? I don't know what else to suggest or do, because I don't get what you're trying to achieve.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
80
S
34
G
40
Posts: 3,029
Reputation: 30,393

Post » Thu Jun 16, 2016 4:05 am

SoldjahBoy wrote:Sorry I'm just really confused now... it started at bullets and now it's about cars?

Can you post your capx of your project so I can take a look at what's going on? I don't know what else to suggest or do, because I don't get what you're trying to achieve.

~Sol

Sorry I'm late repply, My capx www.dropbox.com/s/kr0c5v2drwg7x1p/Colli ... .capx?dl=0
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Post » Thu Jun 16, 2016 8:50 am

Can you correct it? please https://www.dropbox.com/s/kr0c5v2drwg7x ... iable.capx thanks
B
21
S
6
G
3
Posts: 67
Reputation: 2,946

Next

Return to How do I....?

Who is online

Users browsing this forum: Lancifer, MaxxMunnn and 5 guests