No, in MMF1.5 at least you need to check the global property to true for an object, and then copy / paste the object into each of the frames you want to use. I have a lot of such instances in my current project.
You have to be really careful not to forget what's global and what isn't, stupid as it might sound. I once edited an active and forgot it was also global (a clone from another global object) and it changed every instance of that object in my application.
There's also some weird quirk I get for global active objects that I want to change from time to time. Take a global map screen active object that appears in every frame of a game for example. If you need to change the map you could go to the first frame and make the change, and it should instantly change all such instances of this map, right? Not all the time! I don't know why it does this for me, but some instances will remain unchanged while others will feature the changes you've made to the global object. I have NO idea why this happens, but it sucks when it does because you need to go through every frame and make sure that object has been changed. If it hasn't, you can try to change the object in the same way, and sometimes that works so everything looks the same throughout.
Shit, sorry I hope that makes some sense. I get array issues with MMF too where it sometimes mixes up values from two different arrays for no apparent reason (the coding was correct). I guess every program's gotta' have it's little bugs right?
Edited by the Author.
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
i have done the edit in frame1 like you said, and it changed all the way through,
now, in my case its a String object im using,
Text1 = " "
Text2 = "location"
Text3 = "Location2"
The idea being that after 2sec. the text string sets to 1 so you dont see it onscreen,
then when the frame changes, it gives the player text2, then in the next location text3, etc..
it works fine for Frame1, (also i want it to give info, when the player Collects Stuff) so frame1 gives you "location1" then after 2seconds, it goes blank, then the player collects, and it says "item collected" (for 2 seconds)
when the frame goes to the next one, same thing as the first,
in Start of frame line, it gives the player the correct text, but, only Frame1 works.. in frame2 there is nothing, i dont understand why..
thats why i was making it global, so I can use the global events to change the text on every frame without cutting and pasting all the text manipulation lines into each frame! argh!
maybe i should do the cut n paste, its not like it will be a lot of stuff, even is I make the items, a group and the weapons another group...
----------------------
Time for a Sexy Party!
----------------------
Glad to be of help. One thing you should try to do though is make everything you think you'll need in one frame first, and then test it all out. When you're sure (or pretty sure) you've got it all, then you should expand and add more frames and etc. I can't tell you how many times I've found something that I missed before and had to wade through countless frames trying to fix everything. Nothing like fixing the same group of events over 50 odd frames, blah!
Oh, and maybe you could look into displaying different paragraphs of the same string? It seems like you have a lot of strings that might be able to be condensed into one.
Then you can manipulate what you want to display with a variable or something. And then you'd only need one global instead of 3. You probably wouldn't need a string object to be global, but you know your project better than anyone else does. Good luck with it!
--
"Del Duio has received 0 trophies. Click here to see them all."
"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"
DXF Games, coming next: Hasslevania 2- This Space for Rent!
Del, Thats just what i am doing with the Text and paragraph, sorry i explained it badly, if id used the work Paragraph, it would have been clear, lol
anyway,
i think i need to do it by way of text string on each level, set as a global, then i can reference it from the global events,and us a Global Value to change to tell the game what text to display...
Eek..
i guess in my heart I knew it would come to this,
i just find it annoying that in TGF once someting is declared as global is shows up in all frames, and mmf doesnt do that,
sometimes I miss TGF, but then it Passes because I like mmf lots more, lol
----------------------
Time for a Sexy Party!
----------------------
Originally Posted by Del Duio No, in MMF1.5 at least you need to check the global property to true for an object, and then copy / paste the object into each of the frames you want to use.
That happens in mmf2 too. I found that a bit weird at first.