- Dec 16, 2008
- 818
- 246
i'm trying to set up a situation where an event happens at a random spot in an area on my map at random intervals.
lack of a math_randomiser is annoying, but i've jerryrigged (using random timers) a coordinate generation system that will give XYZ values within a range, and offset if needed.
my problem though, is i can't see anyway to feed this information into an entity, so it is placed/teleported to the coordinates that are generated.
does anyone know how to set positions (without hardcoding it) of entities.
also using logiccases isn't really gonna cut it here, as we're talking about areas that are at least 512x512 in size... and making 512 cases across 32 logic cases per axis is not gonna happen. plus it'd be useless if i wanted to use different sizes.
lack of a math_randomiser is annoying, but i've jerryrigged (using random timers) a coordinate generation system that will give XYZ values within a range, and offset if needed.
my problem though, is i can't see anyway to feed this information into an entity, so it is placed/teleported to the coordinates that are generated.
does anyone know how to set positions (without hardcoding it) of entities.
also using logiccases isn't really gonna cut it here, as we're talking about areas that are at least 512x512 in size... and making 512 cases across 32 logic cases per axis is not gonna happen. plus it'd be useless if i wanted to use different sizes.