Home   Help Search Login Register  

Author Topic: Help with ADDACTION  (Read 2196 times)

0 Members and 1 Guest are viewing this topic.

HuNtEr-exz

  • Guest
Help with ADDACTION
« on: 01 Sep 2002, 13:21:31 »
how can u make it so an add action can only be used by one side? and how can i make it so a marker can only be used by 1 side?
oh and while im at it just say some one was killed how can i make it so it tell you who did it? (only applys to players not ai)
« Last Edit: 01 Sep 2002, 13:25:01 by HuNtEr-exz »

HuNtEr-exz

  • Guest
Re:Help with ADDACTION
« Reply #1 on: 01 Sep 2002, 13:27:38 »
dw i got it ?!(side player==east):exit

HuNtEr-exz

  • Guest
Re:Help with ADDACTION
« Reply #2 on: 01 Sep 2002, 13:33:24 »
lol figures that out too u define it after

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:Help with ADDACTION
« Reply #3 on: 01 Sep 2002, 16:28:35 »
ummmmm - so, does it work now>?
Proud Member of the Volunteer Commando Battalion

A5hley

  • Guest
Re:Help with ADDACTION
« Reply #4 on: 01 Sep 2002, 21:13:56 »
Do u know how to make so only the unit in the in the certain area gets the addaction command and not the whole side, i had this problem in a map where when 1 person had the addaction everyone got it, i have sorted with loads of triggers for each person but is their an easier way?

HuNtEr-exz

  • Guest
Re:Help with ADDACTION
« Reply #5 on: 02 Sep 2002, 14:09:24 »
A5hley
do you mean so only 1 side gets the action or 1 person?

Pope_Zog

  • Guest
Re:Help with ADDACTION
« Reply #6 on: 03 Sep 2002, 20:40:28 »
You could try adding the action to a static object - that way only the players close to the object will get the action.

Pope Zog

A5hley

  • Guest
Re:Help with ADDACTION
« Reply #7 on: 03 Sep 2002, 23:17:59 »
i mean 1 person sorry.

Offline CapMorgan

  • Members
  • *
  • OFP fan
    • Cazadores de monte
Re:Help with ADDACTION
« Reply #8 on: 04 Sep 2002, 03:54:29 »
as pope said:
place an object (inv. helipad), name it (here).
make a trigger
cond:
side player==east && player distance here <20
on activation:
player addaction ["action", "action.sqs"]

there you go.

Offline KTottE

  • Former Staff
  • ****
Re:Help with ADDACTION
« Reply #9 on: 04 Sep 2002, 16:58:10 »
And that could be setpos:ed ontop of the player in question, right?
So he would have the action all over the map.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"

Pope_Zog

  • Guest
Re:Help with ADDACTION
« Reply #10 on: 05 Sep 2002, 13:49:30 »
I don't think that's neccessary. When the action is added to the player object then it should stay with it - wherever it may move.

Pope Zog