Darekens
  • Darekens
  • 53% (Neutral)
  • Private Topic Starter
17 years ago
Hello all, sorry for my english ^^

I add in game a superweapon who drop a 1000$ crate at a location.
But I would like when I click on the button to call that superweapon, my money down by 1000$.

Any know how can I do that ?

Or another way to give money to an ally ?
Sponsor
Me Myself and Pi
17 years ago
I'm not sure this is possible, since there isn't already a SW where you have to pay to use it. If it is, then I'd think adding this code: BuildCost = 1000 so the special power. But it might just cause a crash.
maximo7
17 years ago
All you have to do is clone or replace the regular america paradrop and replace the ranger with the SupplyDropZoneCrate...If you clone it you will have to clone the code in many other files like special power, science, ocl etc....if you replace the normal one because you don't use is just a mater of replacing the rangers for the crates...you can also go that way and in addition create your own crate objects so you can modify the amount of money that each crate contains...or even easier is to jus drop more crates if that is what you want.
Darekens
  • Darekens
  • 53% (Neutral)
  • Private Topic Starter
17 years ago
I want to pay for the drop, i ever done the superweapon that can drop money, no problem with that.

I find my solution

I create a special ranger that cost 1000$, with a super fast locomotor.
Then I create a button that active an explosion and kill my special ranger, but the explosion create too a crate of 1000$ that all can take.

You pay 1000$, and your friend catch 1000$ on floor^^

thanks anyway, bye

(sorry for english)