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 / EAI Led flashlight

Author
Message
Melchet
14
Years of Service
User Offline
Joined: 11th Dec 2009
Location:
Posted: 15th Jul 2014 12:05
I have the EAI LEd flashlight,

but it irriates me that I have to hold the left mouse button to let it light.

Someone knows a code snippet I can use the flashlight without have to holding the mouse button?
Wolf
16
Years of Service
User Offline
Joined: 8th Nov 2007
Location: Luxemburg
Posted: 15th Jul 2014 14:10
You would have to use a different flashlight system. EAI's Ledlight uses FPSC's build in muzzleflash system to fake the illusion of light, and muzzleflash only shows if you "fire" the gun.

Altough this is only semi-related: I generally advise against using a flashlight in FPSC as a gameplay mechanic.



-Wolf

"When I contradict myself, I am telling the truth"
"absurdity has become necessity"
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 15th Jul 2014 14:16
there is a way, I think. But if you want to use a flashlight and another weapon, there is no way. Tell me your version and I give you a hint

Games make the world better
Melchet
14
Years of Service
User Offline
Joined: 11th Dec 2009
Location:
Posted: 15th Jul 2014 14:18
I have version 1.19.009
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 15th Jul 2014 20:02 Edited at: 15th Jul 2014 20:03
Try 1.2 http://forum.thegamecreators.com/?m=forum_view&t=208795&b=21

But for your problem:

Conditions:




actions:



Try to create a script with these commands
Some commands use 1.2 so you must go to 1.2!

Games make the world better

Login to post a reply

Server time is: 2024-03-29 11:07:51
Your offset time is: 2024-03-29 11:07:51