bindentity gets removed when offscreen[SOLVED]

ABK

Well-known member
Does anyone know why it happens? My enemy has skateboard, everytime hes offscreen his skateboard attached by bindentity gets removed.
subject to screen 1 solved this partially so when enemy is hit he wont land offscreen but its still getting removed when screen covers skateboard from bottom or top as well.
Is this a bug or a feature that i can turn off ?
 
Maybe the "offscreenkill" is taking action here. If your entity is "type none" i think those are more sensitive to offscreenkill than "type enemy" if i'm not mistaken. But anyway, i would try to add "offscreenkill 600" (or more if you need) on that entity and see what happens.
 
I gave it 1000 , will try over 9000 like oprah said 8)
---
Ok that didnt help much but what helped was change in type, i just set it to npc and looks like problem is gone so its type "none" thats introducing this problem.
Yeah, problem is gone, i cant reproduce this behaviour with type npc , maybe this should be in manual.
 
bWWd said:
I gave it 1000 , will try over 9000 like oprah said 8)
---
Ok that didnt help much but what helped was change in type, i just set it to npc and looks like problem is gone so its type "none" thats introducing this problem.
Yeah, problem is gone, i cant reproduce this behaviour with type npc , maybe this should be in manual.

The reason that offscreenkill did not work well with the “type none”, i think is because those entities are having by default “noadjustbase 0” setting. So you might have to enable this first like “ noadjustbase 1”  and then it will work like on npc type.
I have stumbled on this a few times, that’s why i know that. ;)
 
Another +1 to magggas. Incidentally the reason None types have those defaults is that they are usually projectiles. So the defaults are set up to ignore stuff most other types are subject to and then get out of memory ASAP once off screen.

DC
 
Just to be clear, i meant to use both no_adjust_base  1 and the offscreenkill command. If this is what you did and it still not worked, well.. i don't know, just use the npc then  ???
 
That is strange. I have a TYPE NONE entity, which I bind using script, and it doesn't get removed if I go out screen - only then the parent dies.
And it doesn't have any subject_to or noadjustbase.

You can take a look at my game if you want - its the "a_bbird" entity (Emma Frost's Black Bird).
 
Back
Top Bottom