I'm trying to make a stealth type game using MMF, but I'm having trouble making it so once they see you you can hide from them... (Behind crates and stuff) Any ideas?
You could start by giving each enemy a line of sight and a flag. Once the line of sight touches the player, turn the flag on. This flag triggers the search for the player. This flag can be turned off by a timer, so that while the enemy can't "see" the player, he will still look for him until he gets uninterested. Kind of like of Metal Gear Solid when the genome soldiers are on alert.
And btw, try to be more helpful in future you guys.
You could start by giving each enemy a line of sight and a flag. Once the line of sight touches the player, turn the flag on. This flag triggers the search for the player. This flag can be turned off by a timer, so that while the enemy can't "see" the player, he will still look for him until he gets uninterested. Kind of like of Metal Gear Solid when the genome soldiers are on alert.
Thanks for actually replying...
But yeah, I've got that done, and a bunch of other stuff covered... The guards are just pretty stupid, They don't really look for you, they chase you untill you hide behind something then they kinda wander around.