If you really want custom animated arrow(s), you should create a blank image of arrow.gif/png in the sprites folder. Also, you can create arrows as entities with either type none or type panel.
Warning: Pay attention to lifespan (value) in the character header.
For example:
Code:
name go
speed 10
type Panel
shadow 0
lifespan 3
setlayer 300
antigravity 100
subject_to_wall 0
subject_to_obstacle 0
subject_to_platform 0
facing 1
alpha 4
anim idle
loop 1
delay 100
offset 36 25
sound data/sounds/arrow.wav
frame data/chars/misc/go.png
delay 10
frame data/chars/misc/empty.png
In level, after the first group of enemies are defeated, add the custom arrow entity in there:
Code:
##### GROUP 1 ###########
scrollx 0 300
at 300
#group 1 1
#at 0
group 3 3
at 0
spawn MalePur1
alias Purifier
coords 350 218 76
at 5
spawn FemPur
alias Purifier
coords 350 218 76
at 30
spawn StroPur
alias Purifier
coords -90 218 76
item RandItem
at 65
spawn FemPur
alias Purifier
coords -30 218 76
at 100
spawn GunPur1
alias Purifier
coords 350 218 76
at 160
spawn GunPur1
alias Purifier
coords -30 218 76
at 210
spawn StroPur2
alias Purifier
coords 350 218 76
item RandItem
at 280
group 1 1
at 300
group 100 100 #For spawning enemies normally without grouping
at 300
#wait
#at 300
##### GROUP 2 ########
scrollx 300 700
at 300
group 100 100
at 300
spawn go
coords 300 190 76
at 305
spawn MalePur2
alias Purifier
coords 350 218 76
at 380
spawn box
alias box
coords 325 218 76
item RandItem
at 390
spawn box
alias box
coords 325 218 76
item RandItem
at 412
spawn FemPur2
alias Purifier
coords -30 218 76
at 410
spawn StroPur2
alias Purifer
coords 350 218 76
item RandItem
at 460
spawn StroPur
alias Purifier
coords -30 218 76
item RandItem
at 500
spawn FemPur3
alias Purifier
coords 340 218 76
at 510
spawn spikes2
#@script
void main(){
void self = getlocalvar("self");
changeentityproperty(self, "position", 890);
}
@end_script
alias spikes
coords 321 218
at 569
spawn box
#@script
void main(){
void self = getlocalvar("self");
changeentityproperty(self, "position", 922);
}
@end_script
alias box
coords 322 218
item RandItem
at 600
spawn spikes2
#@script
void main(){
void self = getlocalvar("self");
changeentityproperty(self, "position", 957);
}
@end_script
alias spikes
coords 321 218
at 636
spawn SGunPur
alias Purifier
coords 325 218 76
at 670