How do I have multiples of one sprite have own rules

Get help using Construct 2

Post » Wed Dec 30, 2015 3:04 pm

well.. you're doing things wrong here.

first of all - use function to execute a behaviour (shooting).
2nd of all - use trigger of some kind. (currently i'm not on my pc so i can't check) but LOS should be usefull here. "Has LOS to object"

then you call function to shoot.

activating / deactivating groups is just misused in this case.
oh yeah, and you will need timer or your enemy will shoot indefinitely while in range. (unless you want that)
Sea Monsters template - Isometric
Also includes 40 pages PDF of optimizations and "how-to" for your games, and how the "sea monsters" template was built. Follow link for details :)

sea-monsters-templates-and-assets_t162705
B
43
S
14
G
12
Posts: 626
Reputation: 9,450

Post » Wed Dec 30, 2015 3:52 pm

@saiyadjin

It actually works now. Thanks to your tip about using group deactivation wrong, I can now use this all the time. What I did is i made it so the shooting is controlled by a variable instead of event group control. Thank you so much.
And thank you
@jook00
@Carbincopy
@LittleStain
@R0J0hound
for helping me with this as well :D
Problem solved.
B
3
Posts: 6
Reputation: 187

Post » Wed Dec 30, 2015 5:37 pm

Glad to hear it. Fill free to link your finished game so we can see the end results. ;) JC
B
29
S
13
G
10
Posts: 355
Reputation: 8,317

Previous

Return to How do I....?

Who is online

Users browsing this forum: batto and 20 guests