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 / Negative values in scripts?

Author
Message
Ri99ers
18
Years of Service
User Offline
Joined: 8th May 2006
Location: UK
Posted: 27th May 2006 00:10
Hi all,

I was wondering if anyone has found a way to enter negative values in scripts?
The reason behind it is that I was re-writing some of the AI scripts, and wanted an entity to be able to look to the left and right.
Using the ROTATEHEAD=X command works great for turning to the right, but won't let me turn the head left, and if I attempt to set the X value to 340 degrees, my entity reminds me of a certain scene in a well known horror film
I tried to set the value to a negative, but it just gets ignored.
Any suggestions?

Ri99ers.
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 27th May 2006 01:08
depends on the action or condition, but neg values should be used.

Remember with the rotate head command that you have to reset the head to start at 0 again... sorry I can't help further...

We all have our inner noob. Join the NJL, and have more fun!
I believe society is flawed; our notions on life, on child rearing, stem too far back to be of relevance in this day and time.
Ri99ers
18
Years of Service
User Offline
Joined: 8th May 2006
Location: UK
Posted: 28th May 2006 15:46
Thanks for the reply, I guess I'll just have to persevere. It's a shame that I can't get them working as I have written some good line of sight AI scripts, I just need to be able to change the line of sight

Ri99ers.

Login to post a reply

Server time is: 2024-11-25 22:04:09
Your offset time is: 2024-11-25 22:04:09