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 WakeUp Script help needed!
Ardie Offline
Junior Member

Posts: 3
Threads: 1
Joined: Dec 2013
Reputation: 0
#1
WakeUp Script help needed!

Hi people.

I'm making a story, and I have this problem with the WakeUp Script.





Anyone know the solution to fix this?

Sorry for it not being 16:9 I had the game on windowed 1024x768 resolution.
12-05-2013, 09:56 PM
Find
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#2
RE: WakeUp Script help needed!

(12-05-2013, 09:56 PM)Ardie Wrote: Hi people.

I'm making a story, and I have this problem with the WakeUp Script.





Anyone know the solution to fix this?

Sorry for it not being 16:9 I had the game on windowed 1024x768 resolution.

i think it would be the best if you first give is your .hps file or just write the content here. Thanks

If you don't draw first, you don't get to draw at all... -The False Shepherd
12-05-2013, 10:18 PM
Find
Ardie Offline
Junior Member

Posts: 3
Threads: 1
Joined: Dec 2013
Reputation: 0
#3
RE: WakeUp Script help needed!

http://pastebin.com/t6jnz6ft here's the .hps code.
12-05-2013, 10:50 PM
Find
RaideX Offline
Member

Posts: 212
Threads: 33
Joined: May 2013
Reputation: 7
#4
RE: WakeUp Script help needed!

try using (i'm not 100% sure with this fix)

PHP Code: (Select All)
string &in asTimer 

instead of

PHP Code: (Select All)
string &in timer_name 

and change the code accordingly. (if you know how to do so!)

EDIT: It seems that you use "MovePlayerHeadPos". I think what you want to do here is either make it back to normal or let the player get up. For that you will most likely have to use "FadePlayerRollTo". I'm not entirely sure with the numbers for that function but i guess you'll figure it out!

EDIT2:

I think i've figured it out:

PHP Code: (Select All)
else if (timer_name == "MoveHead")
        {
                
MovePlayerHeadPos(13.750, -2.522);  //Try deleting this Line!
                
FadePlayerRollTo(02500);
                
AddTimer("ActivatePlayer"2"WakeUp");
        } 

If you don't draw first, you don't get to draw at all... -The False Shepherd
(This post was last modified: 12-05-2013, 11:25 PM by RaideX.)
12-05-2013, 11:19 PM
Find
Ardie Offline
Junior Member

Posts: 3
Threads: 1
Joined: Dec 2013
Reputation: 0
#5
RE: WakeUp Script help needed!

(12-05-2013, 10:18 PM)RaideX Wrote:
(12-05-2013, 09:56 PM)Ardie Wrote: Hi people.

I'm making a story, and I have this problem with the WakeUp Script.





Anyone know the solution to fix this?

Sorry for it not being 16:9 I had the game on windowed 1024x768 resolution.

i think it would be the best if you first give is your .hps file or just write the content here. Thanks

(12-05-2013, 11:19 PM)RaideX Wrote: try using (i'm not 100% sure with this fix)

PHP Code: (Select All)
string &in asTimer 

instead of

PHP Code: (Select All)
string &in timer_name 

and change the code accordingly. (if you know how to do so!)

EDIT: It seems that you use "MovePlayerHeadPos". I think what you want to do here is either make it back to normal or let the player get up. For that you will most likely have to use "FadePlayerRollTo". I'm not entirely sure with the numbers for that function but i guess you'll figure it out!

EDIT2:

I think i've figured it out:

PHP Code: (Select All)
else if (timer_name == "MoveHead")
        {
                
MovePlayerHeadPos(13.750, -2.522);  //Try deleting this Line!
                
FadePlayerRollTo(02500);
                
AddTimer("ActivatePlayer"2"WakeUp");
        } 

Okay, I will try that, thanks.

Edit: http://gyazo.com/8c012e22360c29aa0d47b33defd8133f , went back with timer_name and it works. Thanks, deleting that line worked.
(This post was last modified: 12-05-2013, 11:56 PM by Ardie.)
12-05-2013, 11:53 PM
Find




Users browsing this thread: 2 Guest(s)