Macromedia Director Help

MrChris

Weaksauce
Joined
May 31, 2005
Messages
68
Hey there,

I’m currently making part of a game using Macromedia Director MX2004 for one of my university briefs and am a little stuck :(

I'm trying to make a simple shooting level that revolves around a moving scope, the scopes registry point is where the cross hairs meet obviously, and I want the code to take off a certain amount of "health" from the target if the user hits it.

The code I am using is as follows:

"global gHealth, gArmour

on mouseDown me
if member("scope").regPoint = <<THIS IS WHERE I AM STUCK>> then
put "HIT"
gArmour = gArmour - 50
end if
end"

I don't know if that is right at all as I basically want to tell it that if the horizontal location of the scope (from the reg point) is between 93 and 98 take off 50 from the property gArmour.

Can any genius here help me?

I would love you forever (in a nice way lol) if you can, or at least point me in the direction of a good website or two (such as flashkit for using flash).

Regards,

Chris. :)
 
Back
Top