xyz555
Member
I want this when the target leaves the ground (fall) or (jump) or (tossentity)
(self) kill
script @script
void main()
{
void self = getlocalvar("self");
void target = getentityproperty(self, "parent");
void a = getentityproperty(target,"a");
if(target,"a>0&&a<10"){
{
killentity(self);
}
}
}
@end_script
but it doesn't seem to work
I hope you can give me some pointers
Sincerely wish you health and happiness
thank you all
(self) kill
script @script
void main()
{
void self = getlocalvar("self");
void target = getentityproperty(self, "parent");
void a = getentityproperty(target,"a");
if(target,"a>0&&a<10"){
{
killentity(self);
}
}
}
@end_script
but it doesn't seem to work
I hope you can give me some pointers
Sincerely wish you health and happiness
thank you all
