123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|641|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> works some of the time....

Thu, 27 Mar 2008, 19:53
Orion Pax


Ok. Now this SHOULD position these sprites around my player. I checked the types, all is fine. Just half the time the sprites pop up somewhere else.

Why would it not work half the time? The players position is randomly generated BEFORE this code is executed.

Just to test I did this....



Thats the F1 key. When I press it the stars relocate to where they SHOULD be.

Thu, 27 Mar 2008, 20:00
9572AD
The player's position is generated, you say, but is the player's model actually moved to that position before the stars are generated the first time?

-=-=-
All the raw, animal magnetism of a rutabaga.
Thu, 27 Mar 2008, 20:23
Orion Pax
yes. The player is POSITIONENTITY their before the stars are generated. It seems to be working fine now. And havent had that problem again since my post. Maybe a memory leak? Maybe I should clear the world when ending the game. I know its good house keeping to do so anyways but I was gonna add it later. Maybe now is a good time.
Fri, 28 Mar 2008, 03:15
GoliX
Try setting the global parameter on positionentity to true.
Just a shot in the dark :/.