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 / Objectives script with variables

Author
Message
ToRRent
11
Years of Service
User Offline
Joined: 10th Jul 2013
Location:
Posted: 18th Sep 2013 18:55
Hi,
I trying to create objectives with variable. If player reach something the Objective var is changing(incvar).

But the script doesn't check did variable has specific value.

ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 18th Sep 2013 21:53
Hi ToRRent
I take it your running this script in a trigger zone?
Try...

Then add "addvar=objective 1" to each completed objective.
best
ToRRent
11
Years of Service
User Offline
Joined: 10th Jul 2013
Location:
Posted: 20th Sep 2013 14:43
Strange, when i use timergreater to change the variable value, nothing happen.
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 20th Sep 2013 16:25 Edited at: 20th Sep 2013 16:29
ToRRent
Most have stopped using "timergreater".
It's best to use "etimerstart" or "etimergreater" now for all entities. Sorry I didn't notice it before.
A "timer" script tends to stop working if another script is running
a "timer" until the first one is done. "etimer" scripts are independent for that entity only. Are you running another script with a "timer"?
ToRRent
11
Years of Service
User Offline
Joined: 10th Jul 2013
Location:
Posted: 20th Sep 2013 20:41
yep, okay i will try with etimer

Login to post a reply

Server time is: 2024-11-23 10:49:36
Your offset time is: 2024-11-23 10:49:36