Home » Renegade Discussions » Mod Forum » scripts.dll 1.5.1/1.6
scripts.dll 1.5.1/1.6 [message #78585] |
Sat, 10 April 2004 21:12 |
|
I have had to abandon the script idea of checking for repairing vs not repairing because there is no way to make it work in all situations. I can detect each time a building is shot with the repair gunbut I dont know when the repairing stops. (in fact, its hard to define when it stops because it may stop when someone stops firing and then start again shortly after)
but for the idea I had, I can use this new script idea: JFW_Damaged_Send_Custom_Amount.
Basicly, this script takes one flag for greater than or less than and another value for the damage amount. Then, it will send the custom based on the greater than or less than flag and whether the damage amount is greater than or less than the amount specified.
So, what you can do is to have JFW_Damaged_Send_Custom_Amount send a custom only when damage < 0 (i.e. repairing is happening). Then, you can have it so that you have a very short animation (just 2 fast frames of e.g. an icon blinking from on to off) then use that animation with JFW_Set_Animation_On_Custom and set loop to false.
So, with jsut 2 scripts, you can have visual cues that a building is being repaired.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Tue, 06 April 2004 04:47
|
|
|
scripts.dll 1.5.1/1.6
By: Slash0x on Tue, 06 April 2004 09:45
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: Cebt on Tue, 06 April 2004 15:37
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Tue, 06 April 2004 18:41
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: NeoSaber on Tue, 06 April 2004 20:02
|
|
|
scripts.dll 1.5.1/1.6
By: Alkaline on Wed, 07 April 2004 01:21
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Wed, 07 April 2004 01:36
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Wed, 07 April 2004 05:45
|
|
|
scripts.dll 1.5.1/1.6
By: laeubi on Wed, 07 April 2004 06:52
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: Slash0x on Wed, 07 April 2004 18:02
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: drunkill on Wed, 07 April 2004 19:47
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Wed, 07 April 2004 21:09
|
|
|
scripts.dll 1.5.1/1.6
By: drunkill on Thu, 08 April 2004 07:47
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: Deth7 on Thu, 08 April 2004 17:13
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Thu, 08 April 2004 18:59
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Thu, 08 April 2004 19:21
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Thu, 08 April 2004 20:22
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Thu, 08 April 2004 22:54
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Thu, 08 April 2004 23:26
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: drunkill on Fri, 09 April 2004 01:09
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Fri, 09 April 2004 16:49
|
|
|
scripts.dll 1.5.1/1.6
|
|
|
complete list of changes for 1.6
By: jonwil on Sat, 10 April 2004 01:10
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Sat, 10 April 2004 18:51
|
|
|
scripts.dll 1.5.1/1.6
By: jonwil on Sat, 10 April 2004 21:12
|
Goto Forum:
Current Time: Tue Dec 03 08:33:43 MST 2024
Total time taken to generate the page: 0.01137 seconds
|