View Single Post
Old 08-29-2005, 04:58 AM   #1 (permalink)
Indigo
Senior Member
 
Join Date: Jun 2003
Posts: 415
Default About Crates (longer lasting, targettable and destroyable)

I'm working on something with the PickupScience of the SalvageCrate so that it would also be available for USA and China, but unlike GLA, they wouldn't be able to pick it up, but what I want is for both of them to be targettable, meaning the mouse cursor can select them so they can be forced fire, kinda like 'securing the area' thingie.

I mean, for example, I got into an engagement with GLA units, of course some of my units will be taken out, thus making them into piles of slavage crates, but I don't want them to get a hold of those salvage crates so I force fire on them so no upgrades for those GLA units coming back for it. So how can I make them targettable, mouse selectable, able to be runover and destroyable?

Second, this'll be in favor when I'll be playing as GLA. How can I make salvage crates last longer? I mean, I know this part of the code...


Code:
Behavior = DeletionUpdate ModuleTag_03 
    MinLifetime  = 30000   
    MaxLifetime = 35000   
End
How long exactly is 30000/35000? What values do I have to input to make them last, say 30 mins to 1 hour?

Thanks in advance for any assistance!
Indigo
Indigo is offline   Reply With Quote