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 to make a break???
Hooumeri Offline
Member

Posts: 57
Threads: 11
Joined: Oct 2010
Reputation: 0
#7
RE: How to make a break???

(11-08-2010, 03:01 PM)Everlone Wrote: yes i try it, but i think he have a problem with another script on start up.

Spoiler below!

void OnStart()
{
AddUseItemCallback("", "Key1", "door1", "KeyOnDoor", true);
AddUseItemCallback("", "Key2", "cabinet1", "KeyOnDoor1", true);
AddUseItemCallback("", "Key3", "bedroom", "KeyOnDoor2", true);
AddUseItemCallback("", "Key4", "bathroom", "KeyOnDoor3", true);
GiveItemFromFile("lantern", "lantern.ent");
AddEntityCollideCallback("cabinet1", "AreaDesk", "CollideAreaDesk", true, 1);
AddEntityCollideCallback("Player", "Area51", "Area51Func", true, 1);
AddEntityCollideCallback("Player", "Area52", "Area52Func", true, 1);
AddEntityCollideCallback("Player", "exitdoor", "closedoor", true, 1);
SetPlayerJumpDisabled(true);
SetPlayerCrouchDisabled(true);
SetPlayerRunSpeedMul(0);
FadePlayerRollTo(75, 10, 100);
MovePlayerHeadPos(-1.2f, -1.3f, 0, 10, 0.5f); //x(0 def), y(0 def), z(0 def), speed,

slowdowndist
SetPlayerMoveSpeedMul(0.05f);
SetPlayerLookSpeedMul(0.05f);
}


Tell us exactly what you're trying to do with the timer. If the game gives an error message, post it here with your script file
11-08-2010, 03:06 PM
Find


Messages In This Thread
How to make a break??? - by Everlone - 11-08-2010, 12:20 PM
RE: How to make a break??? - by anzki - 11-08-2010, 12:51 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 02:43 PM
RE: How to make a break??? - by anzki - 11-08-2010, 02:53 PM
RE: How to make a break??? - by Hooumeri - 11-08-2010, 02:58 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 03:01 PM
RE: How to make a break??? - by Hooumeri - 11-08-2010, 03:06 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 03:12 PM
RE: How to make a break??? - by anzki - 11-08-2010, 03:19 PM
RE: How to make a break??? - by Everlone - 11-08-2010, 03:26 PM



Users browsing this thread: 2 Guest(s)