oldyz
Well-known member
O Ilusionista - did you ever find out what was going on with this?
is the "item drop" flag an entity property too?
Code:
void makeBoss(char target_name, void iBoss)
{// Turn a specific entity to boss
//Douglas Baldan - 2020.07.18
int i;
for (i = 0; i < openborvariant("count_entities"); ++i)
{
void ent = getentity(i);
if ( getentityproperty(ent, "exists") )
{
if ( getentityproperty(ent,"model") == target_name)
{
changeentityproperty(ent, "boss", iBoss);
continue;
}
} else continue;
}
return;
}
is the "item drop" flag an entity property too?