Combat problem

For questions about using Classic.

Post » Tue Feb 03, 2009 6:58 pm

Cant figure out why all the objects are destroyed when value is 0.

http://www.megaupload.com/fi/?d=SSOOPB8Y <-- cap file.
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Tue Feb 03, 2009 7:29 pm

You're using a System compare. That won't pick the object, it's just a generic equation comparison.

Use the perushyvismelee object's own "Compare private variable" condition.




Also... Megaupload? Bleah. I have to enter captcha, wait 45 seconds, AND look at pop-up ads? You should get yourself a willhostforfood account. It's free, and you can get direct download links.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Feb 03, 2009 8:34 pm

Was too lazy to upload to my own ftp (www.l33twash0r.net) so megaupload was first what I could remember.
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Tue Feb 03, 2009 9:21 pm

[quote="deadeye":2fddx6gw]
Use the perushyvismelee object's
[/quote:2fddx6gw]

First I was WTF, since when did deadeye learn finnish :D Then I realized that it was l33twash0r who decided that object name! X)
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Post » Wed Feb 04, 2009 1:59 pm

http://l33twash0r.net/Construct/combat%20now.cap

Now the combat looks like that. Any suggestions how I make health bars go away when the perushyvismelee dies?
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Wed Feb 04, 2009 2:06 pm

Put them in a container with your perushyewatever objects:

http://willhostforfood.com/files3/23259 ... ainers.cap
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Wed Feb 04, 2009 3:06 pm

[quote="deadeye":2q9n9m3l]Put them in a container with your perushyewatever objects:

http://willhostforfood.com/files3/23259 ... ainers.cap[/quote:2q9n9m3l]

Thanks alot!
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Fri Feb 06, 2009 7:32 pm

http://l33twash0r.net/Construct/combat2.cap

Again problem with this...

Can't get the the melee target to the ranged.
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Sat Feb 07, 2009 11:06 am

Couldnt find edit button so double post.

Or is there anyway to make combat system like with groups only?
I mean like every x ticks enemies shoot detector and if it hits and detects something then they will target it and shoot, and that same would work for friendlys?
B
27
S
3
G
5
Posts: 172
Reputation: 3,628

Post » Sat Feb 07, 2009 5:09 pm

Ahh hyv ett tulee lis suomalaisia^^

Well why you want it to shoot detectors? Use Line Of Sight if its good for ur purposes
B
11
S
3
G
4
Posts: 622
Reputation: 3,186

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests