Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Script
Rakez68 Offline
Junior Member

Posts: 11
Threads: 3
Joined: Mar 2013
Reputation: 0
#1
Wink  Script

Hey guys!

I need a little help on a script that sounds simple but I can't figure it out.

I have a obstacle in my map, to which the player can die several times.
So I fall down in a room, and after 10 seconds the player dies, and teleports him to PlayerStartArea_3.

I have checkpoint that after the player dies, it enables the script area again, making the player die every time he falls down in the room. On the bottom of the room there is the script area, and when you collide with it, it would start the 10second timer again and kill the player.
But it doesn't start the effect again after death.

So I wan't the player to die every time he falls in the room.

Sorry for my bad English.
ThanksBlush
05-16-2013, 12:41 PM
Find
Solarflaire Offline
Junior Member

Posts: 24
Threads: 3
Joined: May 2013
Reputation: 1
#2
RE: Script

(05-16-2013, 12:41 PM)Rakez68 Wrote: Hey guys!

I need a little help on a script that sounds simple but I can't figure it out.

I have a obstacle in my map, to which the player can die several times.
So I fall down in a room, and after 10 seconds the player dies, and teleports him to PlayerStartArea_3.

I have checkpoint that after the player dies, it enables the script area again, making the player die every time he falls down in the room. On the bottom of the room there is the script area, and when you collide with it, it would start the 10second timer again and kill the player.
But it doesn't start the effect again after death.

So I wan't the player to die every time he falls in the room.

Sorry for my bad English.
ThanksBlush

Change the Boolean to false

AddEntityCollideCallback("", "", "", false, 1);
05-16-2013, 12:48 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: Script

(05-16-2013, 12:48 PM)Grumpyrog Wrote: Change the Boolean to false

AddEntityCollideCallback("", "", "", false, 1);

The one in which has to do with the player colliding with the script at the bottom of the hole which enables the timer Smile

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-16-2013, 12:54 PM
Find
Rakez68 Offline
Junior Member

Posts: 11
Threads: 3
Joined: Mar 2013
Reputation: 0
#4
RE: Script

Mother of god, I feel so dumb Big Grin Thanks
05-16-2013, 01:49 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#5
RE: Script

Don't feel dumb Smile We all just want to help. If you have questions, just go ahead and ask!

Discord: Romulator#0001
[Image: 3f6f01a904.png]
05-16-2013, 02:10 PM
Find




Users browsing this thread: 1 Guest(s)