• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

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