Home   Help Search Login Register  

Author Topic: Need some Commands  (Read 524 times)

0 Members and 1 Guest are viewing this topic.

DarkCell

  • Guest
Need some Commands
« on: 11 Jan 2004, 15:38:54 »
Here are again some Command Questions:

1: I need a Command for a Scud to start and Launch the scud anybody got an Idea?

2: And How can I make a Trigger that acts only after one of the EAST soldiers is death or more?

Can you people also post some more commands,becease I only know the Easy commands not the diffycult ones :-\

So Plz post some extra commands you think that are Good ones I need to know when making CO-OP:)

Thnx Again! ;D

gundernak

  • Guest
Re:Need some Commands
« Reply #1 on: 11 Jan 2004, 16:07:32 »
1:

prepare to launch:

scudname action ["SCUD Launch"]


to launch scud:

scudname action ["SCUD Start"]


2:

count how many east soldier you have in a certain group (now eastGrp), now let's say 10

make a trigger
size: 0
type: none
ativation: none
condition field: count (units eastGrp) < 10

or you have more groups (now eastGrp02) with other let's say 8 members put these to the condition field:

count (units eastGrp) + count (units eastGrp02) < 18

do not forget to delete word 'this' from condition field!

here you can find the available commands:

http://www.ofpec.com/editors/comref.php

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Need some Commands
« Reply #2 on: 11 Jan 2004, 16:31:52 »
Read the com ref from start to finish, like a book.    That way you will get an idea of what commands there are.   Don't stop to try and understand every command, that would long and boring, just get a feel for the art of the possible.
Plenty of reviewed ArmA missions for you to play

DarkCell

  • Guest
Re:Need some Commands
« Reply #3 on: 11 Jan 2004, 17:27:17 »
Wait Still got a problem! :(

I made a trigger that Synch to the Waypoint of the Scud

Trigger1:

Activation: EAST
Condition: This
on Activation: scudname action ["SCUD Launch"]

Trigger2:

Activation: EAST
Condition:This
on Activation: scudname action ["SCUD Start"]


The problem I Got is that when a East player walks into the trigger field the scud start his Launch so what I need is:

What do I have to change to let the trigger activate only when the ScudLauncher is in the field and not other Units? ???


Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Need some Commands
« Reply #4 on: 11 Jan 2004, 17:32:47 »
group the triggers with the SCUD.

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Need some Commands
« Reply #5 on: 12 Jan 2004, 04:11:04 »
As Armsty says, group the first trigger to the scud and you'll get new options in the Activation box.   However, that will make the scud start the launch procedure immediately, which may look a little odd.   I would do it like this.

Trigger
Activation:   scud present
On activation:   [] exec "scud.sqs"

And the script, this is just a sketch, you'll need to alter it to make it work and to suit the circumstances

; this script makes the scud launch

~10

scudname action ["SCUD Launch"]

~4   (experiment to find the right delay)

scudname action ["SCUD Start"]

exit

Of course you could use a gamelogic with WPs instead of a script.

Check the FAQ - it has some scud tips.
Plenty of reviewed ArmA missions for you to play

_hammy_

  • Guest
Re:Need some Commands
« Reply #6 on: 12 Jan 2004, 04:30:14 »
...

here you can find the available commands:

http://www.ofpec.com/editors/comref.php


Or you can download my executable command reference located in my sig, but i dont know if the download link accually works because of ofpec partly being down....