Whats the diffrent of a static object and a "normal" object?
Im asking about the latest(?) newsletter where you learn how to import a fps level into DBpro, as a static object (load static objects.........universe.dbo,1).
Once i realized how to write (a working)collision script, it looks like i can't make "normal objects" (as the xfile mainplayer) collide with the static object (the map).
AUTOMATIC OBJECT COLLISION 2,0,1
AUTOMATIC OBJECT COLLISION 4,0,1
while returnkey()=0
set cursor 0,0
and (this is piece 2 of the collision script, so "and" is not a part of it)
set global collision on
if rightkey()=0 and leftkey()=1 and OBJECT HIT(4,0)=0 and mouseclick()=0 then move object 2,
if leftkey()=0 and rightkey()=1 and OBJECT HIT(4,0)=0 and mouseclick()=0 then move object 2,
This script works fine to make player (object2) collide with a box (object4)
But sense i used "load static objec
S" to load the map i cant specify the map as an object sense it is wrote objects.
The question is how to make the "normal" object collide with the static object. Any god ideas guys??
Hello!