Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / seting a colision zone

Author
Message
LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 14th Mar 2003 03:13
ok i have 3 variables

xPos#=object position x(id)
yPos#=object position y(id)
zPos#=object position z(id)

and i want to set a "danger zone" where traps randomly apear, to see if the player steps on a trap tile insie the danger zone what would you suggest i code?

i was thinking

for x pos=start corner to x pos=end corner
but is their a way to concatonate so its has to check the range for x y and z?
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 14th Mar 2003 23:43
Your question is not clear...
do you want to check when the player hits a trap or if he enters the area where traps are located..?
LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 14th Mar 2003 23:53
sorry it was late, i made a pervious topic of the same design an got 18 odd views but no posts

my goal is to (well you can find out more info in the "Sex topic," its dummy name)

basicly im trying to create a box

if the player move with the box and since the area is flat, are at the static Y value then it souuld randomly roll to see if a trap is triggered

LLX
21
Years of Service
User Offline
Joined: 17th Feb 2003
Location:
Posted: 15th Mar 2003 06:49
cant figure out why the text string wont update



Login to post a reply

Server time is: 2024-11-27 23:40:05
Your offset time is: 2024-11-27 23:40:05