enemie obstacle problem

jonsilva

New member
hi

ive set some enemies to abstacle so it would not count for groups and wait in level

but the problem is that obstacles seem to have some kind of platform...

this enemie is a little spider and it only takes 2 hits to kill it
spide.jpg


when your in level with 5 of these spiders and some other small bots
it makes almost impossible to move.... The player doesnt go trow it
like he goes when youre fighting a 4 meter tall enemie

is there anyway to remove the platform from the obstacle
ive also tried set it to none / trap... but the player cant attack it...
 
That's not the way to do it. Use NPCs. Give them the same hostility setting as you would a normal enemy. They will behave exactly the same but don't count in waits or groups.

DC
 
ive just got it to work...
ive used subject_to_obstacle 0 in all the players
ive been using platforms in most of the obstacles

i need to leave the npc out i have some levels were the player fights along side an npc and he was always getting knocked

anim spawn
@script
if(frame==3)
{
  changeentityproperty(getlocalvar("self"), "type", openborconstant("TYPE_OBSTACLE"));
}
@end_script
loop 0
delay 7
offset 93 128
bbox 0 0 0 0
jumpframe 0 2 0 0
frame data/chars/beyond/1cyb3/xidle01.gif
frame data/chars/beyond/1cyb3/xidle02.gif
frame data/chars/beyond/1cyb3/xpain03.gif
frame data/chars/beyond/1cyb3/xpain04.gif
frame data/chars/beyond/1cyb3/xpain06.gif
frame data/chars/beyond/1cyb3/xpain07.gif
delay 40
frame data/chars/beyond/1cyb3/xidle03.gif
 
Back
Top Bottom