OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BGrenko on 14 Oct 2002, 18:03:12
-
I'm trying to set up a trigger, called by radio, that executes a script that will count live East Soldiers and then place the number along with some text in the hint box. Kind of a way to get an idea how many bad guys are still out there lurking at any given time.
I toyed around with the countside command and hint text command but couldn't seem to pull my head out of my ..... and get it working.
I'm sure it's fairly simple. If someone wouldn't mind sending some help my way, I'd surely appreciate it
-
Hello BGrenko
OK first make an east present trigger big enough to cover your total play area. Leave condition as this and set On Activation as eastguys = thislist. This creates an array of all the russian units in the area.
Set up your radio trigger and put in its On Activation:
hint format ["East left : %1", east countside eastguys]
I think that should work :)
-
Problem solved thanks for the help !
-
[attachment deleted by admin]