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
Looking around upon start
Theforgot3n1 Offline
Member

Posts: 192
Threads: 20
Joined: Apr 2012
Reputation: 6
#5
RE: Looking around upon start

(08-10-2012, 08:33 AM)The Shanus Wrote:
(08-10-2012, 05:04 AM)Theforgot3n1 Wrote:
(08-10-2012, 01:03 AM)Statyk Wrote: The syntax is incorrect.

void lookingaround1(string &in asParent, string &in asChild, int alState)
And also, double ";" at

FadePlayerFOVMulTo(1, 1);;
Changed both, but it didn't fix it p: I think the problem is my callback, no?
void OnStart()
{
SetPlayerLampOil(0.35f);
SetPlayerActive(false); // With SetPlayerActive you can't look around, since it removes ALL player-controls.
//SetPlayerLookSpeedMul(0.2f);
FadeRadialBlurTo(0.5f, 3.0f);
SetSanityDrainDisabled(true);
SetInventoryDisabled(false);
BlockDefaultHints();
FadeIn(3);
FadePlayerFOVMulTo(1, 1);
//SetPlayerRunSpeedMul(0);
MovePlayerHeadPos(0, -1.5f, 0, 10, 0.5f);
//SetSanityDrainDisabled(true); //duplicates?
lookingaround1();
}
void lookingaround1()
{
StartPlayerLookAt("invisible_box_mass_3", 5.0f, 5.0f, ""); // Why not use an area? :)
AddTimer("", 3.0f, "StopLook");
}
void StopLook(string &in asTimer)
{
  StopPlayerLookAt();
}
void BlockDefaultHints()
{
    BlockHint("DarknessDecrease");
    BlockHint("PickLantern");
    BlockHint("PickTinderbox");
    BlockHint("SanityHit");
    BlockHint("SanityLow");
}

void OnEnter()
{

}

Does this work for you?

I honestly don't get what it is you actually need help with.

Confusion: a Custom Story - Ch1 for play!
http://www.frictionalgames.com/forum/thread-15477.html
About 50% built.
Delayed for now though!
(This post was last modified: 08-10-2012, 09:00 AM by Theforgot3n1.)
08-10-2012, 08:59 AM
Website Find


Messages In This Thread
Looking around upon start - by The Shanus - 08-10-2012, 12:29 AM
RE: Looking around upon start - by Statyk - 08-10-2012, 01:03 AM
RE: Looking around upon start - by Theforgot3n1 - 08-10-2012, 05:04 AM
RE: Looking around upon start - by The Shanus - 08-10-2012, 08:33 AM
RE: Looking around upon start - by Theforgot3n1 - 08-10-2012, 08:59 AM
RE: Looking around upon start - by The Shanus - 08-10-2012, 09:10 AM



Users browsing this thread: 1 Guest(s)