Page 2 of 2
Re: Pre-Frame 1 Operations on Gameworld.
Posted: 27 Mar 2008, 02:55
by Peet
Argh wrote:I'll have to take a look at THAT's source
lol
Re: Pre-Frame 1 Operations on Gameworld.
Posted: 27 Mar 2008, 03:06
by Argh
[BIG FAT EDIT]
No, it won't work in gadget:Initialize, because it doesn't know the start-positions of the players yet.
I'd forgotten, it needs to occur after a gameframe has passed, so that it won't overwrite anything... drat... lemme see if I can get around that...
Re: Pre-Frame 1 Operations on Gameworld.
Posted: 27 Mar 2008, 06:19
by lurker
Oh. If you want it to be run after people pick positions, then yeah, I'm sure I can get a mod-configurable start frame finished up and included.
Re: Pre-Frame 1 Operations on Gameworld.
Posted: 27 Mar 2008, 06:23
by Argh
Yeah, that's kind've vital. Sorry for being unclear. Runs like a charm in gadget:initialize, but then it puts stuff right on top of the commanders, which is what I'd forgotten was the reason I did it frame-based in the first place. I could write code to move people's commanders around afterwards, but I suspect people would not like that, so yeah, if you can get that working, it'd save me a ton of trouble with this... and probably stop things from desyncing from "lag", too, because I could just put it at -150 frames or thereabouts...