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
Script Help SetPlayerLookAt Questions
BadCoverMan Offline
Junior Member

Posts: 27
Threads: 7
Joined: Feb 2012
Reputation: 0
#5
RE: SetPlayerLookAt Questions

(02-25-2012, 09:17 PM)Unearthlybrutal Wrote: void Warning(string &in asTimer)
{
StopPlayerLookAt();
FadeEnemyToSmoke("alexander_1", true);
}

void Onstart();
{
AddEntityCollideCallback("Player", "Warning_1", "EntityTalk", true, 1);
}

void EntityTalk(string &in asParent, string &in asChild, int alState)
{
StartPlayerLookAt("alexander_1", 3.0f, 5.0f, "");
PlaySoundAtEntity("", "warning_1.snt", "Player", 0, false);
AddTimer("stoplook", 4, "Warning");
}
Thank you very much. I just realized though that Alexander is not an "enemy" so FadeEnemyToSmoke wouldn't necessarily work. I'd rather not have him just abruptly disappear so is there any way to fade him to smoke?

02-25-2012, 09:36 PM
Find


Messages In This Thread
SetPlayerLookAt Questions - by BadCoverMan - 02-25-2012, 08:00 PM
RE: SetPlayerLookAt Questions - by BadCoverMan - 02-25-2012, 09:14 PM
RE: SetPlayerLookAt Questions - by BadCoverMan - 02-25-2012, 09:36 PM
RE: SetPlayerLookAt Questions - by BadCoverMan - 02-26-2012, 01:15 AM



Users browsing this thread: 1 Guest(s)