Home   Help Search Login Register  

Author Topic: Grenaders  (Read 864 times)

0 Members and 1 Guest are viewing this topic.

DaRkmAn

  • Guest
Grenaders
« on: 30 Sep 2002, 21:59:30 »
How can i make a script where when i radio bravo they start grenading the city with there m203's?

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Grenaders
« Reply #1 on: 01 Oct 2002, 00:35:04 »
Well, create a group of grenadiers first of all ( ::) ;D ) and then
Name the group :

 Morons = units Group This  (put it the INIT field of some d00d)

Then just write a lil' novellette with NOTEPAD, som'n like this  :o

-------------------------------
#Novel
? EaseUp: exit
"_x fire [""m203muzzle"", ""Grenadelauncher"", ""grenadeLauncher""]" ForEach Morons
~5
Goto "Novel"

-------------------------------

Save the file as "Novel.sqs" and put it in yer "NameOfMission" -folder  :-*

Then the triggers :

1. starting the action = radio A.

In the "On Activ." field put :

[YerName] exec "Novel.sqs"

And to end it, use the BRAVO trigger with these words of wizzydummy :

EaseUp = True

That would end the looped scroll  8)

Now, ya MAY need to add some reload spells, dunno actually?!

If so, do it like this (in the script, after the ~5 delay) :

"_x action [""Reload"", ""m203muzzle"", ""Grenadelauncher""]" foreach Morons

( if I'm not all wrong here  :P ::) )  :)