Home   Help Search Login Register  

Author Topic: Tricky one...  (Read 461 times)

0 Members and 1 Guest are viewing this topic.

Offline GomerPyle

  • Members
  • *
  • OFPEC rocks.....
Tricky one...
« on: 25 Feb 2003, 21:00:30 »
I have a question or rather two questions....

How do you put a person inside a building on the second floor or on the roof. It seems like he always is on the ground.

And who do you put for example a radio on a table?

Thx in advance

Jester

  • Guest
Re:Tricky one...
« Reply #1 on: 25 Feb 2003, 21:06:04 »
this SetPos[getpos this select 0,getpos this select 1,DesiredHeight]

DesiredHeight is how much you want to raise the object. You can also use a negative value to lower an object.

1 = 1 meter or 3 feet

That goes in the object or persons init field.

Hope this helps. ::)

Offline GomerPyle

  • Members
  • *
  • OFPEC rocks.....
Re:Tricky one...
« Reply #2 on: 25 Feb 2003, 21:14:35 »
Thank you very much. Helped alot...

Is there anyone who know how to make people sit on chairs aswell? Or is that only not possible......?

Thx in Advance

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Tricky one...
« Reply #3 on: 25 Feb 2003, 21:18:32 »
theres a switchmove for that. I made a search when I tried to find da command for the lean over table and I only found the sitdown command. Try to make a search on 'table' or 'lean' or somethin.

Jester

  • Guest
Re:Tricky one...
« Reply #4 on: 25 Feb 2003, 21:36:17 »
EffectStandSitDown or EffectStandSitDownVer1 or EffectStandSitDownVer2

init field of person you want to do this is


this switchmove "FXHERE"

Make sure its in the quotes ""
« Last Edit: 25 Feb 2003, 21:37:35 by Jester »

Offline GomerPyle

  • Members
  • *
  • OFPEC rocks.....
Re:Tricky one...
« Reply #5 on: 25 Feb 2003, 21:55:28 »
Did not work Jester.

I got a russian officer. I put this switchmove "EffectStandSitDown" in the init of the officer. And i tried it in a move waypoint on the chair (chair x). But he only walk around it and spins around. The officer is on careless behaviour aswell.

I have resistance......

Thx

Offline GomerPyle

  • Members
  • *
  • OFPEC rocks.....
Re:Tricky one...
« Reply #6 on: 25 Feb 2003, 22:00:01 »
this switchmove "EffectStandSitDown";

This line tells him to sit down. But not on the chair. I want him to sit on a chair the way we humans do.

hehe

I tried to put this line in this SetPos[getpos this select 0,getpos this select 1,0.9] just to test if he falls down on the chair. But he falls through it and down to the floor... grrrrrr.. Its almost like the chair aint there......

thx
« Last Edit: 25 Feb 2003, 22:42:08 by GomerPyle »