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 / Flickering Candle

Author
Message
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 8th Feb 2007 23:26 Edited at: 8th Feb 2007 23:27
I'm trying to produce a flickering candle light but it's not working. I want to flick between two colours, I know all about the flickering light:- on / off but that's not what I want, I want it to flick between two colours. Here's the script:



There is no light at all coming from the light marker I've set up as candle light, it is set as dynamic and I am using the script in MainAI. Can anybody help?


Deathead
18
Years of Service
User Offline
Joined: 14th Oct 2006
Location:
Posted: 9th Feb 2007 00:04
hmm... I'm no coderer but i think it could be because of the noughts. Correct me if i'm wrong.

Uthink
18
Years of Service
User Offline
Joined: 30th Sep 2006
Location: State of Confusion
Posted: 9th Feb 2007 02:22
What about making a decal?
smith
17
Years of Service
User Offline
Joined: 20th Jan 2007
Location: iraq.
Posted: 10th Feb 2007 10:34
Try set the entity to "Static = No" and add your script as the main script.

When they no longer provide a means of entry, then we try harder, until then, you continue to spark anarchy, my fellow anarchists.- CEO, AN.
Phlum
18
Years of Service
User Offline
Joined: 30th Jul 2006
Location:
Posted: 10th Feb 2007 16:17
smith,
Quote: "it is set as dynamic and I am using the script in MainAI"
Quote: "Try set the entity to "Static = No" and add your script as the main script."
He did.

Nickydude: You've quoted ff on red and blue, try doing something different on the red. If that don't work, wait for Airslide, Butters or Merranvo (where has he gone?)

-Phlumetoid

[center]
G4fan
18
Years of Service
User Offline
Joined: 21st Oct 2006
Location: in my car, driving on and on. . .
Posted: 10th Feb 2007 17:06
I've never seen
Quote: ":state=1:lighblue=00,lightgreen=ff,lightred=ff,state=0
:state=2:lighblue=00,lightgreen=00,lightred=ff,state=0"

before.

Check if it's the correct syntax. Sorry if I'm wrong here.

Best of luck,
G4fan

My first game: "Wars of Crime"-35% completed
Nickydude
Retired Moderator
18
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 10th Feb 2007 19:32
FF means full colour to those particular areas, just like 00 means no colour (black).


puppet
17
Years of Service
User Offline
Joined: 3rd Feb 2007
Location: at my computer
Posted: 14th Mar 2007 19:35
or the spelling?! you have "lighblue" try adding a "t" in there

Login to post a reply

Server time is: 2024-11-23 12:05:56
Your offset time is: 2024-11-23 12:05:56