|
Entity problems Displaying 1-4 of 4 total.
1
stuffmaster
|
1) When I use EntityMove() to do a special frame (laugh, surprise, etc) they freeze in that frame, even when they walk around. What am I doing wrong?
2) How do I delete entities (inside the vc coding)? Also, how do I make them non-obstructive (so you can walk through them?)
Posted on 2001-07-18 12:19:01
|
TheGerf
|
1) After you set there frame using entity move, set it back to 0 before you make it walk again. That resets it's animation.
2) In V2k and up, I belive there is a
function, but I'm not sure. If you're not using V2k, just warp it somewhere out of the visible areas of the map.
You can only make entities non-obstrusive in V2k and up using the variable entity.canob[]
TheGerf, not just any gerf.
Posted on 2001-07-18 16:09:43
|
andy
|
I think someone made a little VC lib that let you "destroy" entities. (move it off the map) It also had a custom entityspawn method that would recycle a "destroyed" entity if there was one.
v2.7 deletes them behind the scenes. You warp them off the map, and when the engine detects that you've ditched them, it wipes them from the face of the earth... er... map. :)
"Ignorance is its own reward" -- Proverb
Posted on 2001-07-19 09:17:16
|
bahamut
|
I make a tree or something in my map without an obstruction in it, and then i let my character walk to the tree to let it become an obstruction.
Posted on 2001-07-19 15:35:47
|
Displaying 1-4 of 4 total.
1
|
|