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
look at 3 places,
savior10946 Offline
Junior Member

Posts: 8
Threads: 7
Joined: Mar 2011
Reputation: 0
#1
look at 3 places,

Im a noob at scripting and I wanna know how to make it so It will look at 3 spots auto for the begging.Like when it starts I want it to look at thos 3 spots slowly and make him close his eyes then open is it possible?
04-01-2011, 12:17 AM
Find
Anxt Offline
Senior Member

Posts: 588
Threads: 12
Joined: Mar 2011
Reputation: 10
#2
RE: look at 3 places,

What you can do is set up 3 areas or objects in the room you want him to look at, then use the function:

StartPlayerLookAt(string& asEntityName, float afSpeedMul, float afMaxSpeed, string &asAtTargetCallback);

Then use timers to make it go to the next one, and repeat.

04-01-2011, 12:32 AM
Find
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#3
RE: look at 3 places,

If you want a 'blink' or 'closing eyes' effect, try FadeOut() then a FadeIn() with fairly short durations. Check out the wiki for the list of functions.
04-01-2011, 11:12 PM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#4
RE: look at 3 places,

Mixing that in with an image trail or radial blur effect might work well too.
04-02-2011, 05:19 AM
Find




Users browsing this thread: 1 Guest(s)