{
HEALTH [10] //what the hell ?, that script sucks i think.
HEALTHATTRIBUTE [enemy_health] //because it doesn't work :D.. btw look down:
JOINT [joint2] //i think i need no help because i download new version of RF :D, ty buddies!!
Spawn[ ()
{
Console(true);
AttributeOrder(500, HEALTHATTRIBUTE, "Death");
LowLevel("Idle");
} ]
Death[ ()
{
AddExplosion("RocketExplosion", JOINT ,0,0,0);
FadeOut(10, 0);
Remove(true);
} ]
//LowLevel routines
Idle[ ()
{
if (self.health = 0)
{
HighLevel("Death");
}
} ]
}
it says pawn Idle
+LowLevel Order error
or something ..
metalhead tested and it was ok.
maybe my rf has bug ? .
Last edited by Gamemaker on Mon Jul 27, 2009 3:18 pm, edited 1 time in total.
I don't get any error messages from this script, however it does not work as expected because: AttributeOrder(500, HEALTHATTRIBUTE, "Death");
should be AttributeOrder(HEALTHATTRIBUTE, 500, "Death");
Also try removing the comments and make sure the script as well as all your ini files and other scripts have some blank lines at the end...
Nothing helps.. I think it's the problem of RF0.75C and I think I'm gonna download 0.76 the day after tomorrow...
I have so many problems that.. arghhh, I don't wanna think about it even..
You shouldn't be asking questions about problems with RF0.75. It is no longer supported. RF0.76 is the current version. Quite obviously changes will have been made so if something isn't working the very first thing to check is that you are using the current supported version.
Are you sure the health of the pawn is decreased? Try adding debug(self.health) to the Idle order and look if it changes. If not, you might have to change the DamageAttribute of the weapons.
Everyone can see the difficult, but only the wise can see the simple.
-----
well, thanks, Jay, but I think i'm not gonna mess with this anymore until I download a new version .
Bigproblem is also in DamageArea command which doesn't work either.
Gamemaker wrote:maybe it's because I found one day a file called Simkin.txt or Simkin.(something)
You probably mean simkin.properties. This file just contains information about syntax highlighting for the RF Script Editor. Even if you have messed up that file it doesn't have any impact on RF.
Honestly, I have no idea why RF can cause so many problems on your pc ...
It's unexplainable, it's like RF decides itself what to do I also have unexplainable problems (and I'm with 0.76) viewtopic.php?f=6&t=4420
I can't wait for the next RF release, Juutis told me that there will be a better debug system (YEEEY!)