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
A script problem. [SOLVED]
Seragath Offline
Junior Member

Posts: 34
Threads: 1
Joined: Jan 2011
Reputation: 0
#5
RE: A script problem.

Found the mistake. What I did wrong was that I did

void TeleportPlayer

I had to change the name. I guess it got confused when I did it like that.

And that FadeOut(0) was missing a ";" in the end. (>.<)

FadeOut(0);

Since I have this thread open still, I have another question. When I add a code with a timer,

AddTimer("Something", 5f, "Somethingelse"

What does the 5f mean ? I see some use 5f while others just use 5.

And thanks for the help! Tongue

EDIT:

So basically what the code says now is that.

When Faint_Scare triggers there will go 2 seconds before it calls TelePortPlayer and another 2 seconds till it calls TelePortback ?
(This post was last modified: 01-12-2011, 01:14 PM by Seragath.)
01-12-2011, 01:10 PM
Find


Messages In This Thread
A script problem. [SOLVED] - by Seragath - 01-12-2011, 11:20 AM
RE: A script problem. - by jens - 01-12-2011, 11:40 AM
RE: A script problem. - by Seragath - 01-12-2011, 12:48 PM
RE: A script problem. - by Tottel - 01-12-2011, 01:00 PM
RE: A script problem. - by Seragath - 01-12-2011, 01:10 PM
RE: A script problem. - by jens - 01-12-2011, 01:18 PM
RE: A script problem. - by Seragath - 01-12-2011, 01:40 PM
RE: A script problem. - by Tottel - 01-12-2011, 01:46 PM
RE: A script problem. - by Seragath - 01-12-2011, 01:53 PM



Users browsing this thread: 1 Guest(s)