|
Re: respawn when repaired [message #217239 is a reply to message #217237] |
Mon, 04 September 2006 08:49 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
Why doesn't it work like normal vec?
(except that it get stuck in the remains of the SAM site)
Moding can be real Fun...
|
|
|
|
|
|
|
Re: respawn when repaired [message #217415 is a reply to message #217237] |
Tue, 05 September 2006 02:18 |
ukshoot
Messages: 37 Registered: August 2006 Location: uk
Karma: 0
|
Recruit |
|
|
when the samsite is destroyed the gun just drops down it can be reapired but it will not turn back into the working samsite...
how do i make it return to normal?
|
|
|
Re: respawn when repaired [message #217425 is a reply to message #217237] |
Tue, 05 September 2006 04:11 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
Quote: | ============================================================ ========================================
; ************************* [Script Name] TFX_Replace_When_Repaired
============================================================ ========================================
[Description]
- Creates an object at the position where another object has been repaired to 100% health & armor, and destroys the repaired object. This is useful if you want to drop a player vehicle where a destroyed one has been repaired.
[Parameters]
- PresetName (The preset that will be created)
- DropHeight (The height above the repaired object where the new one will be created)
- SameFacing (If "1" the dropped object will have the same facing as the repaired one)
- HealthPercent (The dropped object will have the given percentage of its maximum health)
- ArmorPercent (The dropped object will have the given percentage of its maximum armor)
[NOTES]
- NONE
|
From the readme file that comes with scripts.dll, readme12.txt I think, or it could be 13, cant remember. Anyway, this should help you to use it.
Remember: PresetName is the preset name of the SAM site model which is NOT destroyed. Attach this to the preset of the destroyed SAM site model.
[Updated on: Tue, 05 September 2006 04:12] Report message to a moderator
|
|
|
|
Re: respawn when repaired [message #217453 is a reply to message #217439] |
Tue, 05 September 2006 08:40 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
When the SAM site dies, doesn't the explosion remains?
and with Quote: | I think you first need to get the SAM site to be blown up complety (gone)
| I mean that, the SAM site needs to work like a normal vec, witches blow up to
Moding can be real Fun...
|
|
|
|
|