JFW_Building_Damage [message #324177] |
Fri, 28 March 2008 20:55 |
|
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
Why does this not work???
I attached "JFW_Building_Damage" to the GDI BArracks Controller.
Message:1
Player_Type:1
Damage: 0.250
Warhead: Shell
Distance: 100
I attached "JFW_Timer_Custom" to a ScriptZoneAll in the Air.
A plane entering the Zone through a waypath.
Time: 1.00
Timernum: 9 (just a number???)
Repeat: 1
ID: 1550322 (the ID of the barracks controller)
Message: 1
Param: 0
But if the Plane enter the zone, nothing happens??? All the buildings should be damaged???
Zone_entry works, I checked it with "JFW_Create_Destroy_Object_on_Enter".....
???
And is there a simple script command to make on object explode???
|
|
|
Re: JFW_Building_Damage [message #324179 is a reply to message #324177] |
Fri, 28 March 2008 22:07 |
Brandon
Messages: 282 Registered: August 2006 Location: United States
Karma: 0
|
Recruit |
|
|
You make absolutely no sense, what are you trying to do exactly?
First off, Damage: 0.250 is such a small number, you'd never see any change in the buildings health. Buildings usually have 500.000 health.
Secondly, Param: 0 should be set to 1 if I'm not mistaken.
If you're trying to blow something up while having an explosion then let me know because I know an easier way to do it. I'm talented in picking out scripts. I picked out several new scripts for Nod Survival that I had no clue how they operated and yet I got them to work just the way I wanted on first try, so you can trust my knowledge.
|
|
|
Re: JFW_Building_Damage [message #324194 is a reply to message #324177] |
Sat, 29 March 2008 05:50 |
|
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
Thats the problem:
A plane is flying over the base, following a waypath.
It enters a Zone_Script_All over the base.
On enter, there should be an explosion in the base and building damage.
Its no problem to let something apear in the base, if the plane enters the zone.
But I'm not able to find a command to let it explode.
[Updated on: Sat, 29 March 2008 05:52] Report message to a moderator
|
|
|
|
|
Re: JFW_Building_Damage [message #324276 is a reply to message #324261] |
Sat, 29 March 2008 19:16 |
|
rrutk
Messages: 617 Registered: June 2007
Karma: 0
|
Colonel |
|
|
Brandon wrote on Sat, 29 March 2008 17:24 | JFW_Custom_Damage_Object
|
1.
Got it
I used "JFW_Death_Send_Custom" and "JFW_Building_Damage_Percentage". It works great.
But you have to give percentage like 0.250, not 25.000...
Airstrike works great now.
[Updated on: Sun, 30 March 2008 15:40] Report message to a moderator
|
|
|