Quote:
Originally Posted by Brum Brum
He means a random place on the map from which, for example, a props or weapon crate can be respawn. Not a random player spawn
|
Who said use it for players? You get the random vector with this command....
Quote:
Originally Posted by supertimor
I want to use stock to get random, unstucked position on map without pushing any coordinates before.
Something like checking map x,y and randomizing position - check if stuck, if yes do it again.
|
Do you have any scripting experience? This is not a hard. Get a random location, check for brush entities too close, if they are too close then check again. This is almost the definition of what a loop accomplishes.
Check for your location, if its valid then continue, if not run loop again until you get your desired output.