Home   Help Search Login Register  

Author Topic: Simplest Qs in da world  (Read 746 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Simplest Qs in da world
« on: 07 Feb 2003, 19:33:15 »
Hi! Sorry for the noobing but does some1 know where I can find that unofficial reference with all script command in it that everyoneÂ's talking about? Anyway, to da real Q:

I have a artillery script in many small points around the map. When an east guy goes in a artillery area, that area of artillery "hold" their fire untill heÂ's out again. What command must I use for this. I canÂ't use it ingame, cause then the artillery will fall really slow. For example:

@ (East in trigger) : exit

IÂ've always use the east: present ingame so I donÂ't know what to write in a script. Plz help.

Thx in advance

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Simplest Qs in da world
« Reply #1 on: 08 Feb 2003, 01:14:14 »
You're look at a trigger a bit like this:

Trigger

Radius: Covering area
Condition Field: Anybody (or East) Present (Repeatedly)
Name: Trigger
Condition Field: this

Script

...
@ (east countside list Trigger > 0)
exit

Try that out and see if it suits ;)

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Simplest Qs in da world
« Reply #2 on: 08 Feb 2003, 09:48:57 »
Oh, shit! Do I have to name all those triggers now!? :-\ ItÂ's gonna take whole day :P.

( ;D )

Thx, IÂ'm on it.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Simplest Qs in da world
« Reply #3 on: 08 Feb 2003, 12:34:42 »
Got another problem now... :-\. Hope you can help:

I also want that if a special unit is killed, the bombing will die. So I put this in the sqs file:

_unit = _this select 7

and I put in later in script this:

? (!(alive _unitg)) : goto "stickobrinn"

But when I killed the gunner in _unit, but the script will not proceed to stickobrinn. IÂ've tried to change the "_unit" to "_vehicle" but it didnÂ't work. I also tried to change "_unitg" to "_unitd", but didnÂ't seem to work. I use SEB NAM pack 2s mortar. Anyone have an idea?

Offline Grinning_Giant

  • Members
  • *
  • Do not let them get away with it!
Re:Simplest Qs in da world
« Reply #4 on: 08 Feb 2003, 12:49:04 »
Hi Armstrong,

I'm not sure about ALL your probs but i can tell you that _UnitG and _UnitD etc doesn't make any difference. It is only a reference for the script;

e.g.
_MyGrandma = _this select 0
_MyLada = _this select 1
_Trigger = _this select 2

The script doesn't care what you use.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Simplest Qs in da world
« Reply #5 on: 10 Feb 2003, 09:30:18 »
_unitG is UnitGunner, you can use that in the editor. I also tried with _unitDriver in the not alive row.