Answered my own question- I found the "intersect" function and it works (see below)

if intersect(graphic "ball", graphic "sand1") then
        put "in the bunker"  into YourLie
      end if

HOWEVER...

There are many, many objects that the ball object may intersect with...
Is it possible to use a "wildcard" character in Rev?

For instance, there are 3 sand bunkers (sand1, sand2, sand3) and 60+ trees (tree1, tree2, etc)

Can I use something along the lines of :

if intersect(graphic "ball", graphic "tree" & *) then
        put "in the bunker"  into YourLie
      end if

I'm supposing this is not possible (but it sounds like a logical need)-- but maybe there is another way to accomplish this?

Thx
S




Can you use "is within" statements to evaluate if an object is within the confines of an irregular shape??

If so - point me in the right direction?

Thx,
S
--


--------------------------------------------------------------------------------------------------
Steve Bonham
Director, Faculty Technology Development Laboratory
Center for Excellence in Teaching - Georgia Southern University
Statesboro, GA 30460-8143
--------------------------------------------------------------------------------------------------
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


--


--------------------------------------------------------------------------------------------------
Steve Bonham
Director, Faculty Technology Development Laboratory
Center for Excellence in Teaching - Georgia Southern University
Statesboro, GA 30460-8143
--------------------------------------------------------------------------------------------------
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to