Home   Help Search Login Register  

Author Topic: Scud State  (Read 1617 times)

0 Members and 1 Guest are viewing this topic.

O Neil

  • Guest
Scud State
« on: 14 Feb 2003, 22:02:23 »
Hey

scudState scudOne>=4

Is what I put in the init field. I've tried putting it in the cond feild but I can't get it to work. When I put it in the init feild, it says errors about type bools or whatnet.

Can someone help me please?

O Neil ;)

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Scud State
« Reply #1 on: 14 Feb 2003, 22:09:15 »
It goes in a condition.

Youre line will activate a trigger/WP/script when the scud is launched, and only when its launched.  If you want the activation to happen at a different state, then use these numbers.

0 - No activity,
1 - Launch preparation,
2 - Launch prepared,
3 - Ignition,
4 - Launched.

O Neil

  • Guest
Re:Scud State
« Reply #2 on: 15 Feb 2003, 03:53:17 »
I know that, but if I were to put it in the cond feild, what exactly would it look like because you have to have "This" in the cond field.

O Neil

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Scud State
« Reply #3 on: 15 Feb 2003, 13:40:30 »
This  in a trigger only refers to the limited selectable conditions that are part of the trigger, ie the "West present", "East detected by west" etc.  If you dont want any of them you can remove "This" and replace it with a condition of your choice.

If you want to have multiple conditions within your trigger, ie West Present and Scud is launched, then you have youre scud condition preceeded by "This &&".

But if you dont care about west or east or anything like that, just that the scud is launched, replace "This" with your scud condition.

O Neil

  • Guest
Re:Scud State
« Reply #4 on: 16 Feb 2003, 02:04:22 »
I know, but when I replace this with scud state, it doesn't work

PS: I have 1.46

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Scud State
« Reply #5 on: 16 Feb 2003, 02:27:45 »
O Neil, what exactly are you trying to do?   The more you tell us about the problem, the more we can tell you about the answer. (we hope)
Plenty of reviewed ArmA missions for you to play

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Scud State
« Reply #6 on: 16 Feb 2003, 03:06:22 »
Post your mission.  Someone will fix it.
« Last Edit: 16 Feb 2003, 03:09:15 by [icarus_uk] »

O Neil

  • Guest
Re:Scud State
« Reply #7 on: 16 Feb 2003, 08:21:22 »
I don't have a mission.

look, I want the scud to launch it's missiles. That's all. You guys tell me to put it in the cond feilld of something like a trigger.
Nothing works. The scud doesn't move at all.

Is scudState scudOne>=4        for resistance or something?

ffs

O Neil

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Scud State
« Reply #8 on: 16 Feb 2003, 15:04:13 »
You want the scud to launch?  Why didnt you say so!  Youre using the wrong commands completely.  Scudstate is a condition, that actives when the scud is in one of four states, it doesnt put the scud into the state.  What you want is.

scudname action ["scud launch"]

~10

scudname action ["scud start"]

The wait of 10 allows the rack to get to the upright position without jumping up there.

O Neil

  • Guest
Re:Scud State
« Reply #9 on: 17 Feb 2003, 06:01:26 »
.............right..........I'm just going to go and hang myself now....hide my humilation.............I'm gay !

Anyhoo, so about the ~10, I'd have to put that as a script huh ?

O Neil

* Hangs himself ;)

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Scud State
« Reply #10 on: 17 Feb 2003, 10:49:43 »
Yes, a little script file is probably the easiest way.

Name your scud scudname, or whatever you like.    Now open up a text editor like Notepad and copy and paste the following:-



; this script gets the scud to launch

scudname action ["scud launch"]

~10

scudname action ["scud start"]

exit


Save the file:  call it scud.sqs (or whatever you like).   Make sure it is not called scud.sqs.txt.   Put the file in the mission directory with the mission.sqm

Now go back to the mission editor andcreate a trigger, activated as you will.    In the on activation field write

[] exex "scud.sqs"

That's all there is to it. :)  

~10 tells the script to wait 10 seconds, watch the thing in action and change it if its too long or too short.
Plenty of reviewed ArmA missions for you to play

DELTA Turkinator

  • Guest
Re:Scud State
« Reply #11 on: 20 Feb 2003, 18:09:30 »
Hey O Neil, thanx for putting that topic on the Forum, u also helped me with the exact same prob  ;D
Stupid Boolean errors!

O Neil

  • Guest
Re:Scud State
« Reply #12 on: 21 Feb 2003, 05:29:27 »
I'd like to say no probs, but I'm dead ;)

O Neil