#include "world.h"
#include "world_load.h"
#include "entity.h"
+#include "audio.h"
VG_STATIC void ent_objective_pass( world_instance *world,
ent_objective *objective ){
if( next->filter & k_ent_objective_filter_passthrough )
ent_objective_pass( world, next );
- else
+ else{
vg_info( "pass challenge point\n" );
+ audio_oneshot_3d( &audio_challenge[0], localplayer.rb.co,
+ 30.0f, 1.0f );
+ }
}
else {
- vg_success( "NYU Film school graduate SUCKAH\n" );
+ vg_success( "challenge win\n" );
+ audio_oneshot( &audio_challenge[2], 1.0f, 0.0f );
world_static.challenge_target = NULL;
world_static.challenge_timer = 0.0f;
ent_objective_pass( world, objective );
}
else {
- vg_error( "womp womp\n" );
+ audio_oneshot_3d( &audio_challenge[6], localplayer.rb.co,
+ 30.0f, 1.0f );
+ vg_error( "challenge fialed\n" );
world_static.challenge_target = NULL;
world_static.challenge_timer = 0.0f;
}