Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / I Can't Get This Video Script to Work!

Author
Message
CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 19th May 2010 02:56
So here's what this script is supposed to do:

1. Display an editted HUD I created for Use entities.
2. Play a video once the entity has been used
3. Increase the Global Variable #1 by 1 (once the variable reaches a certain point it shows that the player has found all important items in the lobby and an enemy spawns)

Here's the Code:


can you see anything wrong with it :c?

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 19th May 2010 02:57
Well, what's wrong? Does nothing happen?

CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 19th May 2010 03:08
Yes o.o literally NOTHING HAPPENS

I see no HUD, I get no video, I put in a test script (which makes a noise if a variable changes) and nothin :c

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 19th May 2010 03:13
Are you sure it's called? The script itself looks solid, so are you sure that you put on the dynamic entity correctly?

CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 19th May 2010 03:53 Edited at: 19th May 2010 03:55
I'll triple check :x

EDIT:
Ah I found the problem, I forgot to switch the entity to Dynamic! Thanks :3

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 19th May 2010 04:30
No problem. We all put so much time to make the script perfect, then forget something super simple like that. It's totally normal.

CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 19th May 2010 04:37
Yea xD on another note though since I really don't want to make 3 help requests in one day :x do you know a way to make images appear on the player's screen in succession (uninterruptable)? I was going to use the video but it's a little difficult because the player might interrupt it on accident thinking that it's over :/

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete
MandoAndy
14
Years of Service
User Offline
Joined: 10th May 2010
Location: New Hampshire
Posted: 19th May 2010 07:01 Edited at: 19th May 2010 07:57
You could try using the internal timer - something like this might work for you...



EDIT: Cleaned up a mistake I wrote in the code. xP

CrescentMoon
14
Years of Service
User Offline
Joined: 28th Apr 2010
Location:
Posted: 19th May 2010 20:38
oh <3 thanks :3

[WIP] Paranorma Chapter 1, The Beginnings
Level 1: The Lobby - 25% Complete

Login to post a reply

Server time is: 2024-11-25 00:45:52
Your offset time is: 2024-11-25 00:45:52