Home   Help Search Login Register  

Author Topic: Captives belly down  (Read 1564 times)

0 Members and 1 Guest are viewing this topic.

Offline Crowey

  • Members
  • *
Captives belly down
« on: 10 Jan 2009, 20:08:20 »
Hi guys do any of you know how to make pows lie belly down with hands behind their backs untill a join group trigger is activated???
Cheers in advance...

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: Captives belly down
« Reply #1 on: 10 Jan 2009, 20:20:05 »
I think that if you have QG, there is an appropriate animation for this:
Code: [Select]
myCaptive playMove "ActsPercMstpSnonWnonDnon_ArrestingManLoop"
Then, when the trigger is activated, I think you just switch him to prone with:
Code: [Select]
myCaptive playMove "AmovPpneMstpSnonWnonDnon" so that he can move again.
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Crowey

  • Members
  • *
Re: Captives belly down
« Reply #2 on: 10 Jan 2009, 21:54:57 »
Cant seem to get it to work mate????are these commands to be used in a trigger or on act field of unit? and do i change the "mycaptive" bit to the unit name?
« Last Edit: 10 Jan 2009, 22:20:25 by Crowey »

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: Captives belly down
« Reply #3 on: 10 Jan 2009, 22:28:26 »
Yes, change myCaptive to the name of your unit, and it can be used in the On Act field of a trigger. I don't think it will work in an init field of a unit, but you can remedy that by setting the conditional field of a trigger to "true", and then executing it in the On Act field.

[EDIT]
Also, if you can't get the playMove command to work, try "switchMove" instead.

And on another thought, if you can't get it to work, make sure you have Queen's Gambit installed and running.
« Last Edit: 10 Jan 2009, 22:33:06 by Tyger »
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Ext3rmin4tor

  • Members
  • *
Re: Captives belly down
« Reply #4 on: 11 Jan 2009, 13:25:35 »
playMove and switchMove don't work if not followed by a sleep function (or ~ operator in SQS script). The time value can be any.
How can you shoot women and children?
Easy! Ya' just don't lead'em so much! Ain't war hell?!!

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: Captives belly down
« Reply #5 on: 11 Jan 2009, 17:10:13 »
Is this only in a script, because I can get a unit to successfully execute the animation if called from the On Act field of a trigger?
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Captives belly down
« Reply #6 on: 11 Jan 2009, 17:29:12 »
I don't any need pauses after playMove or switchMove stuff when using them in scripts..
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re: Captives belly down
« Reply #7 on: 11 Jan 2009, 17:48:29 »
Same here, I just tested it, and at least for v1.14 and v1.15 I have no need for any sleep statements.
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

Offline Ext3rmin4tor

  • Members
  • *
Re: Captives belly down
« Reply #8 on: 11 Jan 2009, 18:05:41 »
Can you post the code, I'm just curious, cause it never works for me if the script doesn't wait after the command playMove or switchMove?

#EDIT: Don't quote the entire previous post you're replying to      h-
« Last Edit: 11 Jan 2009, 18:36:48 by h- »
How can you shoot women and children?
Easy! Ya' just don't lead'em so much! Ain't war hell?!!

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: Captives belly down
« Reply #9 on: 11 Jan 2009, 18:35:25 »
All I used was
Code: (guy execVM "script.sqf") [Select]
_this playMove "AmovPpneMstpSrasWrflDnon"
« Last Edit: 11 Jan 2009, 18:37:09 by h- »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.