#Non-pinpoint position acquisition

2 messages · Page 1 of 1 (latest)

full tinsel
#

Given:
X is position
Y is deviated position
Problem:
X is found, but then I want to get a random Y around X. What do I do?

sour ginkgo
#

decide on the maximum deviation from X that Y can be. then get a random value between (x-y ; x+y)

  RandInt(<-x <-offset -, <-x <-offset + 1 +) ->y