Posted by: slird - Tuesday, August 4, 2015 6:09:26 PM
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.
Posted by: klingondragon - Tuesday, August 4, 2015 6:23:23 PM
Maybe but the in I would be quicker and easier.
Posted by: Gameanater - Tuesday, August 4, 2015 9:26:06 PM
You could probably activate a GPS Scrambler power on top of a waypoint that is at the same spot the Buggy is at.
Posted by: slird - Wednesday, August 5, 2015 7:49:14 PM
The thought crossed my mind Gamenator, havent tried it yet tho. Thanks.
Posted by: slird - Sunday, August 9, 2015 6:38:28 PM
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.