Raised This Month: $12 Target: $400
 3% 

set_lights timing


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2009 , 19:06   set_lights timing
Reply With Quote #1

What is the timing of the set_lights function if I pass a nonconstant value (e.g. "abcdefghijklmnop").

Code:
 
#define fm_set_lights(%1) engfunc(EngFunc_LightStyle, 0, %1)
Also, would "setting" the timing using a repeating task to cycle through different light settings be bad/inefficient/pointless or not even work right?
__________________
fysiks is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 02-25-2009 , 19:14   Re: set_lights timing
Reply With Quote #2

checkout how tatsu used set_light in this plugin http://www.dodplugins.net/forums/showthread.php?t=478 might help ya
__________________
Dr.G is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-25-2009 , 19:51   Re: set_lights timing
Reply With Quote #3

Quote:
Originally Posted by Dr.G View Post
checkout how tatsu used set_light in this plugin http://www.dodplugins.net/forums/showthread.php?t=478 might help ya
That tells me how I can use it. That does not tell me how the function works.

P.S. that plugin is the starting point/motivation of the plugin I am working on .
__________________
fysiks is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-25-2009 , 22:09   Re: set_lights timing
Reply With Quote #4

I would say that it changes every 0.1 - 0.25 seconds
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Dr.G
Senior Member
Join Date: Nov 2008
Old 02-26-2009 , 10:19   Re: set_lights timing
Reply With Quote #5

twilight suzuka made weather plugin that works for dod aswell thats around here somewhere check that out maybe
__________________
Dr.G is offline
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 02-26-2009 , 15:26   Re: set_lights timing
Reply With Quote #6

I'm not 100% sure, but I think it depends on client's fps or something... definitely not a constant timing.
__________________
MeRcyLeZZ is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode