Get Distance Travelled From Bullet Behavior.

For questions about using Classic.

Post » Sat Jul 05, 2008 7:15 am

I want to retrieve THIS:


But the wizard doesn't give access to it. The cap should tell you what I'm trying to do. Thanks.
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Sun Jul 06, 2008 5:06 am

I think this is what you are looking for. I took out the bullet behavior, but i think it will work with it too. It will show you the total Distance Travelled for your object.

link: [url:3ddvr6j5]http://www.savefile.com/files/1649760[/url:3ddvr6j5]

Edit:

I see I forgot to put in two lines of code to reset the OldX and OldY when the object is remade after it goes out of the layout. It work fine untill you go out of the layout.
B
15
S
10
G
8
Posts: 107
Reputation: 4,944

Post » Mon Jul 07, 2008 7:18 pm

nice cap. thanks
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Mon Jul 07, 2008 7:34 pm

It's been added for the next build :)
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Mon Jul 07, 2008 7:45 pm

nice, good to know
B
2
S
2
G
4
Posts: 259
Reputation: 1,968

Post » Wed Jul 09, 2008 12:31 pm

On a similar topic, is there any way to adjust the inaccuracy of the bullet behaviour using events?
B
2
G
4
Posts: 26
Reputation: 1,102

Post » Fri Jul 11, 2008 9:15 am

This is in 0.96.2 :).
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529

Post » Sat Jul 12, 2008 8:29 am

[quote="Rich":1unjtsic]This is in 0.96.2 :).[/quote:1unjtsic]
That's fast. *thumbs up* ;)
B
2
G
4
Posts: 26
Reputation: 1,102


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests