Home   Help Search Login Register  

Author Topic: setting players stance  (Read 1569 times)

0 Members and 1 Guest are viewing this topic.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
setting players stance
« on: 15 Jun 2007, 20:27:07 »
is dere nyway i can set da players stance ? cuz my cutscene seems 2 work only if da player is standin  ::)  :whistle:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Rellikki

  • Members
  • *
  • Die-hard OFP player
Re: setting players stance
« Reply #1 on: 15 Jun 2007, 20:30:46 »
Try the setUnitPos command. The modes are explained in that page. ;)

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: setting players stance
« Reply #2 on: 15 Jun 2007, 20:47:50 »
much as they are on this page....

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: setting players stance
« Reply #3 on: 15 Jun 2007, 21:37:32 »
Do you mean that setUnitPos will prevent the player to go prone?

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: setting players stance
« Reply #4 on: 16 Jun 2007, 00:50:15 »
lol.... and i even searched 4 setstance nd setunit stance... ill check if dis works :D

LCD OUT

[edit] ectually it doesnt work 4 player unit... even if i disableuserinput

[edit 2] is dere a way 2 know which stance he uses... i tried usin da boundingBox command but it doesnt check between crouch and standin (it does get prone outta way tho :D)

LCD OUT
« Last Edit: 16 Jun 2007, 01:56:23 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Blanco

  • Former Staff
  • ****
Re: setting players stance
« Reply #5 on: 16 Jun 2007, 02:06:51 »
Search or search or search before you ask.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: setting players stance
« Reply #6 on: 16 Jun 2007, 02:14:46 »
im probably gonna end wing my life 2 mandoble... y isnt dis script in da function library ?  ???

thx Blanco

& thx Mandoble 1ce again  :-*

LCD OUT

[edit] da function doesnt seem 2 work in da area im usin... as da citscene starts on a stairs it keeps returnin -1

also around dat buildin it returns -1 if standin 0 if crouchin nd 1 if layin low  ::)

[edit2] forget dat :D i got dat workin by strangle havi9n da boundingBox co-operate w/ mandobles function :D   :yes:
« Last Edit: 16 Jun 2007, 02:50:23 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: setting players stance
« Reply #7 on: 16 Jun 2007, 02:53:09 »
But that getpos function will tell you if the unit is not standing, but will not force it to keep standing

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: setting players stance
« Reply #8 on: 16 Jun 2007, 02:58:00 »
u know arma IS a strange tingy  :confused:

my cutscene uses anims 2 have da player run away... but it seems da anim starts 2 diffrent directions if da player is standin or crouchin... so i adjust his initial direction accordin 2 his stance (nd u cant crawl on stairs so dats not a prob :D)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: setting players stance
« Reply #9 on: 16 Jun 2007, 03:07:53 »
I would forget about the player
That is, black out
create the camera, etc and move the player to an isolated island full of canibals
and place where the player was an AI unit with all AI disabled and do with this unit what you want after a BLACK in
Once finished
black out again, delete the AI unit and move the real player where the AI unit was
destroy the cutscene camera and black in again

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: setting players stance
« Reply #10 on: 16 Jun 2007, 03:20:44 »
i considered dat... but i got it workin like dat :D ill change if ny strange bugs appear tho...

btw can i get da players identity usin getidentity... nd den use setidentity on AI unit ?

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta