I am sure something simple like this should do it :
on enterframe me
sprite(3).loch=-200
if sprite(3).loch<0 then
sprite(3).loch=200
end if
if sprite (3).loch>= 1 then
sprite(3).loch=sprite(3).loch+4
if sprite(3).loch>=500 then --the end of your stage
sprite(3).loch=-200
end if
end if
end enterframe
on exitframe me
if sprite 1 intersects sprite 2 then
sprite(3).loch=3
end if
end exitframe me
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of FUZZ FX
Sent: 19 January 2001 07:44
To: [EMAIL PROTECTED]
Subject: <lingo-l> how can sprite triger another sprite using lingo?
hello!!
im fairly new to lingo.
am creating an interactive environment in the ocean.
i want to create a sript when, let say a fish
intersects another fish and then swims off, on this
event the dolphins would enter the scene and so on
like a predatory cycle. wot kind of scripting would i
have to use?
thank u in adavnce..any help would be much
appreciated!!!!!
fuzz!
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]