F
Falconsoft-Industries
Guest
Obj_jack_Oshimatao_prop1:
Create event:
audio_play_sound(mus_music_normal,100,1)
mypath =path_add()
path_assign(mypath,pat_path_required)
path_speed =8
path_completed =0
image_index =0
sprite_index =spr_jack_oshimatao_walking_south_east
image_speed =4
alarm[0]=4
Alarm 0 event:
if direction == 315 and path_completed <1
{
sprite_index=spr_jack_oshimatao_walking_south_east
alarm[0]=4
}
if direction == 45 and path_completed <1
{
sprite_index=spr_jack_oshimatao_walking_north_east
alarm[0]=4
}
if path_completed >0
{
room_goto_next()
}
Path Ended event:
path_speed=0
image_speed=0
image_index=0
sprite_index=spr_jack_oshimatao_north_east
path_completed=1
What am I doing wrong here?
Create event:
audio_play_sound(mus_music_normal,100,1)
mypath =path_add()
path_assign(mypath,pat_path_required)
path_speed =8
path_completed =0
image_index =0
sprite_index =spr_jack_oshimatao_walking_south_east
image_speed =4
alarm[0]=4
Alarm 0 event:
if direction == 315 and path_completed <1
{
sprite_index=spr_jack_oshimatao_walking_south_east
alarm[0]=4
}
if direction == 45 and path_completed <1
{
sprite_index=spr_jack_oshimatao_walking_north_east
alarm[0]=4
}
if path_completed >0
{
room_goto_next()
}
Path Ended event:
path_speed=0
image_speed=0
image_index=0
sprite_index=spr_jack_oshimatao_north_east
path_completed=1
What am I doing wrong here?