D
David11
Guest
Hi Members,
Right at the moment, I am doing a horror game simmilar to PT. I have a Tv set, that will do nothing, until you have been standing infront of it, a set number of times. Once you have visited the tv minimum, 3X, it will then play an audio. This audio (my friends are recording it ) will play a violent attack between wife VS husband. After the audio ends, he will then take a gun, and blow her brains out, which comes out the tv, and alll over the wall. HAHA I know its vicious.
At the moment, I do not have this audio, nor is the tv ready. For now, I am using a coffee table. When I come near the coffee table 3X, it will disapear. I thought the process was simple. I cant seem to set an instance, a certain number of times. After searching the forums, a numer of times, I did believe this would work:
with (obj_CoffeeTable) {
if (collision_circle( obj_CoffeeTable.x, obj_CoffeeTable.y, 20, obj_Character, false,false )> 3)
then
{
instance_destroy();
}
}
This actually deletes the object on the first try, not the third. Less than or equal to, doesnt do anything. Ive even used the correct procedure with == . Nothing. What am I doing wrong?
Right at the moment, I am doing a horror game simmilar to PT. I have a Tv set, that will do nothing, until you have been standing infront of it, a set number of times. Once you have visited the tv minimum, 3X, it will then play an audio. This audio (my friends are recording it ) will play a violent attack between wife VS husband. After the audio ends, he will then take a gun, and blow her brains out, which comes out the tv, and alll over the wall. HAHA I know its vicious.
At the moment, I do not have this audio, nor is the tv ready. For now, I am using a coffee table. When I come near the coffee table 3X, it will disapear. I thought the process was simple. I cant seem to set an instance, a certain number of times. After searching the forums, a numer of times, I did believe this would work:
with (obj_CoffeeTable) {
if (collision_circle( obj_CoffeeTable.x, obj_CoffeeTable.y, 20, obj_Character, false,false )> 3)
then
{
instance_destroy();
}
}
This actually deletes the object on the first try, not the third. Less than or equal to, doesnt do anything. Ive even used the correct procedure with == . Nothing. What am I doing wrong?