Script question [message #186620] |
Sun, 22 January 2006 11:12 |
bisen11
Messages: 797 Registered: December 2004
Karma: 0
|
Colonel |
|
|
Is there a script that kills other things when it dies?
Example: Barracks dies, all GDI bots die.
Things like that.
Edit: I saw this script while looking through them in LE. Think it would work? JFW_Death_Destroy_Object?
[Updated on: Sun, 22 January 2006 11:50] Report message to a moderator
|
|
|
|
Re: Script question [message #186701 is a reply to message #186620] |
Mon, 23 January 2006 00:08 |
|
No such script exists.
But, when I have time to do more scripting (right now my time is gone because of my job), I could make a few scripts for this.
One script would recieve a custom (e.g. from JFW_Death_Send_Custom) and destroy all objects of a given preset & team
and one thats the same but for a type (e.g. soldier, vehicle) & team
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
|
|
|
Re: Script question [message #186711 is a reply to message #186696] |
Mon, 23 January 2006 01:21 |
EA-DamageEverything
Messages: 423 Registered: January 2005 Location: Germany
Karma: 0
|
Commander |
|
|
Buckery wrote on Mon, 23 January 2006 07:14 | I dont think there is a script like that.
| Why not? If you kill the ref, the harvester disappears... would be the same in comparison to this.
|
|
|
Re: Script question [message #186729 is a reply to message #186620] |
Mon, 23 January 2006 03:52 |
|
The ref-harvester bit is different code, its not a script.
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
|
|
|
|
|
|
|
|
Re: Script question [message #186759 is a reply to message #186620] |
Mon, 23 January 2006 10:37 |
bisen11
Messages: 797 Registered: December 2004
Karma: 0
|
Colonel |
|
|
The main thing i thought would be cool in my map is if i have a defense command. Where all the base defences are invincible and don't die until you kill that building.
|
|
|