-
Loadframe problem
I'm using the loadframe command, it grabs a bmp file from a folder in the game directory.
Works perfectly when I run the game from mmf2, but doesn't work AT ALL from an executable, even if I change the file address to a fully specific location (instead of appdrive and appdirectory)
-
Re: Loadframe problem
Try appath instead appdrive+appdir
-
Re: Loadframe problem
-
Re: Loadframe problem
Go into Application Properties and edit image filters, uncheck automatic and select the ones you need.
-
Re: Loadframe problem
He said he uses Bitmap. And that shouldn't make trouble in the image filters.
Hmm, time to tell us what picture object it is, your Operating system and the installationspath :)
-
Re: Loadframe problem
It's just an active object, I use XP Pro SP2, and the path is just E:\documents right now, but it all works in mmf2's runtime so I figure I'm not doing anything wrong and it's an mmf2 bug
-
Re: Loadframe problem
If you don't include the correct filters the load frame action won't work in a compiled exe. In MMF's runtime all filters are active, but some are removed in the exe if automatic is checked.
-
Re: Loadframe problem
I've never messed with them, and checking them it seems they're all on by default
-
Re: Loadframe problem
Untick the Automatic checkbox and test again.
It may be that MMF, when loading a frame for an active exists, doesn't check what kind of picture has to be loaded. So MMF finds nothing to load at all and deactivates all picture filters then.
If so i would call it a bug then :)
-
Re: Loadframe problem
ok that worked, as dodgy as that is
thanks man
-
Re: Loadframe problem
MMF can't check what filters are used by expressions since they might depend on user input... Not really a bug.