Hello,
I'm trying to learn Multimedia Fusion 2. It's going alright so far, but I'm a bit stumped on something I'm trying to do. I've got a very basic rpg style game started. I have this set up right now..
A blue diamond as the good guy, and a green diamond as a bad guy.
Counter I have that set so on collision the counter sets to the alterable value of Players_Heath. I'm not sure the best way of setting a counter to a variable is. I figured that would suffice as health goes down on both when the two collide...
under collision of good guy to badguy I have this..
subtract (Player_STR( "Player" )+(Random(5)+1))-Goblin_DEF( "Goblin" ) from Goblin health.
[not sure if the equation is set up right with all the brackets, I'm no math wizz, haha.]
under collision of Bad guy with good guy I have this..
subtract (Goblin_STR( "Goblin" )+Random(10)+1)-Player_DEF( "Player" ) from Player_Health
the problem I'm having is sometimes when I collide with my bad guy my players health counter actaully goes up...not all the time, but sometimes, lol...I can't figure out why. I've got nothing in the event editor that should add to that.
anyway, if anyone can see why I'd love some help, thanks guys.
