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
WHAT IS WRONG?!!!!!!!!!!!!!
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#10
RE: WHAT IS WRONG?!!!!!!!!!!!!!

eSpeed1 is defined as a float in the parameter of Again. The other Again that uses a string parameters does not conflict with the float one. Only constructors with the same parameters can conflict. For example, you can make OnStart("Answer") and OnStart(42) and neither of them will cause any issues for the normal OnStart() with no parameters.

@OP
So you're trying to reset the level if the player dies? I don't think OnEnter is called again when you respawn. You should use the CheckPoint script. It has a callback for when the player dies and where to respawn them.

PHP Code: (Select All)
CheckPoint (stringasNamestringasStartPosstringasCallbackstringasDeathHintCatstringasDeathHintEntry); 

(This post was last modified: 06-07-2014, 12:39 PM by Mudbill.)
06-07-2014, 12:36 PM
Find


Messages In This Thread
WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-06-2014, 02:31 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Daemian - 06-06-2014, 03:59 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Romulator - 06-06-2014, 07:15 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Mudbill - 06-06-2014, 01:11 PM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-07-2014, 02:07 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-07-2014, 03:30 AM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Mudbill - 06-07-2014, 12:36 PM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by ProyectV - 06-07-2014, 03:41 PM
RE: WHAT IS WRONG?!!!!!!!!!!!!! - by Mudbill - 06-07-2014, 05:58 PM



Users browsing this thread: 1 Guest(s)