spawn marker
@script
void main()
{
void self = getlocalvar("self"); //Get calling entity
void Status2 = getglobalvar("For1");
if(Status2 == 1){
killentity(self);
}
}
@end_script
alias F1
map 1
coords 560 410
at 0
spawn Enemy
@script
void main()
{
void self = getlocalvar("self"); //Get calling entity
void set = openborvariant("current_set");
if(set == 0){
killentity(self);
}
}
@end_script
map 1
coords 400 200
at 0
“current_set”, – Current difficulty set index, start from 0.