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
how can i repeat teleports?
EnemyAC130 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jul 2013
Reputation: 0
#1
how can i repeat teleports?

My question is how can you repeat a teleport? My problem is that the teleport only works once but I want him to always teleport.

My Script:

AddEntityCollideCallback ("Player" , "FALL" , "Teleportdrausen" , true , 1);
}

void Teleportdrausen (string &in asParent, string &in asChild, int alState)
{
FadeRadialBlurTo (25, 0.0f);
FadeOut(0); //Instant black screen
ChangeMap ("map1.map", "teleport", "", "");
AddTimer ("", 3, "intro1");
}

(Sorry for my bad english Big Grin)
(This post was last modified: 07-27-2013, 02:54 PM by EnemyAC130.)
07-27-2013, 02:50 PM
Find
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#2
RE: how can i repeat teleports?

use this instead AddEntityCollideCallback ("Player" , "FALL" , "Teleportdrausen" , false , 1);

- Inactive account -
07-27-2013, 03:03 PM
Find
EnemyAC130 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jul 2013
Reputation: 0
#3
RE: how can i repeat teleports?

Nice its work, thank you for your help ^^
07-27-2013, 03:06 PM
Find
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#4
RE: how can i repeat teleports?

No problems! The boolean decides whether the callback should be removed or not so setting it to false will tell the program to not remove it

- Inactive account -
07-27-2013, 03:15 PM
Find




Users browsing this thread: 1 Guest(s)