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 / Timed Level Question (it works... but it doesn't work...)

Author
Message
Luke314pi
18
Years of Service
User Offline
Joined: 11th Apr 2006
Location: Minneapolis, MN
Posted: 19th Jul 2006 17:00
I am using the following timed level script I got off the boards:

:state=0:timerstart,state=1
:timergreater=30000:plrmoveto=Win Zone

It works if I just stand still, but once I start running around the level and shooting things, it doesn't work. Why would this be?
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 19th Jul 2006 17:56
well shouldnt it be

:state=0:timerstart,state=1

:state=1,timergreater=30000:plrmoveto=Win Zone


? I think so.. but im new to this... um.. have you tried moving around and stopping right before the 300 secs are up?

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 20th Jul 2006 00:24 Edited at: 20th Jul 2006 00:25
because first off, the farter away you are from the entity the less information it processes.

Second, timer is broken. If you use timer even 1 more time the timer you use here will not work.


Quote: ":state=1,timergreater=30000:plrmoveto=Win Zone"


state=1 is a redundant condition, does nothing.

Your Mod was deleted by the Government.
Luke314pi
18
Years of Service
User Offline
Joined: 11th Apr 2006
Location: Minneapolis, MN
Posted: 20th Jul 2006 03:01
So, if I attach the script to a giant rock in the middle of this one room level, will it work better than if it is attached to a brick in the corner?

I turned off all other timed events. I have enemies respawn after death, not after a delay.
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 20th Jul 2006 03:31
Thats not true, merranvo. I have a script (which has been posted here) that spawns things when you are close enough, then kills them all 1 min after each has spawned. and they all go away at different times. But thanks for the correction on the states. and i dunno about where it is.

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 20th Jul 2006 08:08
Thats not true, merranvo.

Say that to the Source. Timer will be reset constantly by exterior scripts which will NOT kill your enemys after 1 min. If you have timer reseting at shorter intervals somewher then you will NEVER REACH one min unless you are far enough away to one section and close enough to the other.

Quote: "So, if I attach the script to a giant rock in the middle of this one room level, will it work better than if it is attached to a brick in the corner?"


try adding ::followplr

not sure if that command still works with entitys as well as enemys, but it keeps the script running in real time.

Your Mod was deleted by the Government.
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 20th Jul 2006 19:00
Well, mine works. so.. eh.

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->

Login to post a reply

Server time is: 2024-11-22 19:37:22
Your offset time is: 2024-11-22 19:37:22