This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-01-30 18:26:45

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Cannot get enemy to sense when lava is under it

It's top down.
when he flys at you and you put lava under him, he should lose health. the sensor under him should do it, like this
[blocks]<when I receive [BOSS APPROACHING]>
<wait( 20 )secs>
<forever>
<go back( 1 )layers>
<go to[ boss ]>
<if><touching color[red]
<broadcast[ boss-hurt ]>
<wait( 3 )secsc>
<end>
<end>
[/blocks]
ya know wut i mean  smile

Last edited by nickbrickmaster (2011-01-30 18:27:52)


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#2 2011-01-31 01:32:25

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Cannot get enemy to sense when lava is under it

Maybe try shortening that 20.  wink
This should go in AAS as it's your coding.  smile

Offline

 

#3 2011-01-31 09:37:21

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Cannot get enemy to sense when lava is under it

Yes, I'd do exactly as scimonster said and remove the "wait 20 seconds" altogether, or at least shorten it to about 1 second at least.

Offline

 

#4 2011-01-31 17:56:18

nickbrickmaster
Scratcher
Registered: 2010-02-02
Posts: 500+

Re: Cannot get enemy to sense when lava is under it

coolstuff wrote:

Yes, I'd do exactly as scimonster said and remove the "wait 20 seconds" altogether, or at least shorten it to about 1 second at least.

I got figured out. The 20 secs are during a cutscene.


Ask me what I'm doing, wait an hour than roll a die, if it's 4-6, I'm playing Skyrim, if it's 1, I'm eating, if it's 2-3 I'm programming.
Steam: nickbrickmaster | RotMG: PwnThemAll | Minecraft: nickbrickmaster | League Of Legends: BaneOfTitans

Offline

 

#5 2011-01-31 19:18:46

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Cannot get enemy to sense when lava is under it

nickbrickmaster wrote:

coolstuff wrote:

Yes, I'd do exactly as scimonster said and remove the "wait 20 seconds" altogether, or at least shorten it to about 1 second at least.

I got figured out. The 20 secs are during a cutscene.

Oh, I see. Well, that's wonderful that you got it figured out! I'll close this topic now, as there's no longer any need to have it open.

Offline

 

Board footer