Home   Help Search Login Register  

Author Topic: Need help with counting live soldiers  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

BGrenko

  • Guest
Need help with counting live soldiers
« 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




Bremmer

  • Guest
Re:Need help with counting live soldiers
« Reply #1 on: 14 Oct 2002, 18:24:28 »
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  :)

BGrenko

  • Guest
Re:Need help with counting live soldiers
« Reply #2 on: 15 Oct 2002, 02:05:36 »
Problem solved thanks for the help !
« Last Edit: 15 Oct 2002, 02:31:23 by BGrenko »

Bremmer

  • Guest
Re:Need help with counting live soldiers
« Reply #3 on: 15 Oct 2002, 02:32:15 »


[attachment deleted by admin]
« Last Edit: 15 Oct 2002, 02:34:31 by Bremmer »