Well im making a fishing game and when the fish gets 60ft away from you I programmed it to pull so it changes the Distance by 10ft.But I only want it to sent the message "Pull" once how do i do that?Also just to notify that at 60ft away it pulls for ten ft then when you real it in to 60ft again it keeps pulling.So you cant get past 60ft as it will just pull and pull and pull...
Please help and thanks!
Last edited by peniston123 (2012-03-16 07:15:26)
Offline
Huh? You mean like this?
when gf clicked set [pulled? v] to [false] forever //or whatever your repeat thing is if <<(distance to [fish v]) > [60]> and <(pulled?) = [1]>> // or whatever number set [pulled v] to [1] broadcast [pull v] end do other stuff when gf clicked //or this? wait until <(distance to [fish v]) > [60]> broadcast [pull v]If not, please explain better...
Last edited by Splodgey (2012-03-16 10:04:38)
Offline
I dont really know what you just said, but try the broadcast and wait block.
Offline
zbugni wrote:
I dont really know what you just said, but try the broadcast and wait block.
broadcast [something v] and waitthat broadcast and waits for it to finish so this:
when gf clicked broadcast [wait v] and wait when i receive [wait v] wait (1) secsWould be the same as this:
when gf clicked wait (1) secsUnderstand that?
Offline
Splodgey wrote:
zbugni wrote:
I dont really know what you just said, but try the broadcast and wait block.
broadcast [something v] and waitthat broadcast and waits for it to finish so this:when gf clicked broadcast [wait v] and wait when i receive [wait v] wait (1) secsWould be the same as this:when gf clicked wait (1) secsUnderstand that?
Huh? Me? Ya... I just didn't understand the first guy's wording.
Offline
zbugni wrote:
Splodgey wrote:
zbugni wrote:
I dont really know what you just said, but try the broadcast and wait block.
broadcast [something v] and waitthat broadcast and waits for it to finish so this:when gf clicked broadcast [wait v] and wait when i receive [wait v] wait (1) secsWould be the same as this:when gf clicked wait (1) secsUnderstand that?Huh? Me? Ya... I just didn't understand the first guy's wording.
It's funny how you say "the first guy" because I'm the same person... So in other words, what I was saying there is I don't think that'll make it work. Why didn't you understand my first post? Which part didn't you understand? Doesn't matter but I was wondering in case peniston123 didn't understand.
Last edited by Splodgey (2012-03-16 10:54:56)
Offline
The second one worked!!Thank you!
Offline
Splodgey wrote:
zbugni wrote:
Splodgey wrote:
broadcast [something v] and waitthat broadcast and waits for it to finish so this:when gf clicked broadcast [wait v] and wait when i receive [wait v] wait (1) secsWould be the same as this:when gf clicked wait (1) secsUnderstand that?Huh? Me? Ya... I just didn't understand the first guy's wording.
It's funny how you say "the first guy" because I'm the same person... So in other words, what I was saying there is I don't think that'll make it work. Why didn't you understand my first post? Which part didn't you understand? Doesn't matter but I was wondering in case peniston123 didn't understand.
By the first guy I meant peniston, lol sorry.
Offline
zbugni wrote:
Splodgey wrote:
zbugni wrote:
Huh? Me? Ya... I just didn't understand the first guy's wording.It's funny how you say "the first guy" because I'm the same person... So in other words, what I was saying there is I don't think that'll make it work. Why didn't you understand my first post? Which part didn't you understand? Doesn't matter but I was wondering in case peniston123 didn't understand.
By the first guy I meant peniston, lol sorry.
Ohhhh! *facepalm* I should have known...
Offline