slird
  • slird
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
So heres a question...
This is not at all imperative for gameplay, but would definitely add playabilty.
In my single player mission map is a chinese human player. Next to the base is an unmanned rocket buggy assigned to the civilian player. My question is that when china captures the rocket buggy would it be possible to activate stealth on it via scripting? (I am not into INI)
I am still currently testing this and have not exhausted every avenue of opportunity as of yet, but would appreciate your ideas if you have any.
Sponsor
klingondragon
10 years ago
Maybe but the in I would be quicker and easier.
Gameanater
10 years ago
You could probably activate a GPS Scrambler power on top of a waypoint that is at the same spot the Buggy is at.
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
slird
  • slird
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
The thought crossed my mind Gamenator, havent tried it yet tho. Thanks.
slird
  • slird
  • 50.25% (Neutral)
  • Major Topic Starter
10 years ago
F.Y.I.: I have figured it out, and it works flawlessly!
I used three scripts and a trigger area. I will name the scripts A, B and C respectively.
When a unit enters the area script A will enable scripts B and C. Script C will then spawn a marker for the GPS scrambler and stealth the unit. When the unit leaves the area script B will the enable script A to start the process all over again giving the player unlimited use of the scrambler to stealth his or her units.
My only problem is that I would like to limit its use by implementing a monetary value deduction but am unsure of how to do that.