Home   Help Search Login Register  

Author Topic: Multible useractions  (Read 575 times)

0 Members and 1 Guest are viewing this topic.

GalComT

  • Guest
Multible useractions
« on: 04 May 2003, 10:41:34 »
I am trying to link multiple user actions (vehcile animations), i want all of those animations to ocour at the same time with one action in the action menü, i have tried it within the config but it didn't work, i would apresiate any help.

Greatings GalComT

Skaircro

  • Guest
Re:Multible useractions
« Reply #1 on: 04 May 2003, 16:41:47 »
If you set your user action up to trigger a script, then in the script you can have all the animations you want.

Put something like this in your Class UserActions:
class Animation
{
displayName="Animate Stuff";
position="TriggerArea";
radius=2;
condition="player in this";
statement="[this] exec ""\addon_name\animate.sqs""";
};


And this in your script:
_vehicle = _this select 0

#animate
_vehicle animate ["partA",1]
_vehicle animate ["partB",1]
_vehicle animate ["partC",1]
_vehicle animate ["partD",1]
Exit
« Last Edit: 04 May 2003, 16:50:03 by Skaircro »