Home   Help Search Login Register  

Author Topic: nead very little help here  (Read 1766 times)

0 Members and 1 Guest are viewing this topic.

netta1234

  • Guest
nead very little help here
« on: 06 Jan 2004, 15:02:08 »
how do i put like a gun on top of a house
             
                                          i am trying to make mp misson plz reple

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:nead very little help here
« Reply #1 on: 06 Jan 2004, 15:03:26 »
type this in the init field:

this setpos [(getpos this select 0), (getpos this select 1), X]

Where X is the how high the gun should be put.

:beat: *Gets Shot* :beat:

netta1234

  • Guest
Re:nead very little help here
« Reply #2 on: 06 Jan 2004, 15:07:33 »
hm trigger,waypoint,marker i am so n00bie

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:nead very little help here
« Reply #3 on: 06 Jan 2004, 15:26:24 »
init field, if u dont know what that is I suggest you read some beginner tutes before asking here, you will probably find many answers there.

www.ofpec.com/editors

:beat: *Gets Shot* :beat:

netta1234

  • Guest
Re:nead very little help here
« Reply #4 on: 06 Jan 2004, 15:34:38 »
but were is the init field is it in data field addon field
                           damnm i am n00bie

m21man

  • Guest
Re:nead very little help here
« Reply #5 on: 06 Jan 2004, 16:09:59 »
@netta1234 - You really should be posting these questions in Editing/Scripting: General.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:nead very little help here
« Reply #6 on: 06 Jan 2004, 17:41:22 »
Place the following line in the "Initialisation field" of the object you created

this setpos [getpos this select 0, getpos this select 1,X]

X can be a negative or positive number
A Negative number , eg. -3, will sink the object into the ground
A positive number eg 3 will raise the object of the ground

A number to adecimal point, eg 2.3 can be used to get more accurate placement

To get the exact height and location is a matter of trial and error
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

netta1234

  • Guest
Re:nead very little help here
« Reply #7 on: 06 Jan 2004, 17:45:38 »
thats what i neaded thanck you!!!!!!!!!!! :D

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:nead very little help here
« Reply #8 on: 06 Jan 2004, 17:46:45 »
Lol, that's exactly what I posted. :P

:beat: *Gets Shot* :beat:

netta1234

  • Guest
Re:nead very little help here
« Reply #9 on: 06 Jan 2004, 17:58:16 »
but that was more easy to understand

netta1234

  • Guest
Re:nead very little help here
« Reply #10 on: 06 Jan 2004, 17:58:51 »
init = instalation ?

netta1234

  • Guest
Re:nead very little help here
« Reply #11 on: 06 Jan 2004, 18:07:04 »
now it says unknow operator i checked many times but it wont work

m21man

  • Guest
Re:nead very little help here
« Reply #12 on: 06 Jan 2004, 18:07:56 »
Quote
init = instalation ?
Initialization

netta1234

  • Guest
Re:nead very little help here
« Reply #13 on: 06 Jan 2004, 18:10:03 »
ok now i got it to work but the gun sits still in the grond not on building

netta1234

  • Guest
Re:nead very little help here
« Reply #14 on: 06 Jan 2004, 18:17:05 »
i did this ...  this setpos ["getpos this select 0, getpos this select 1,X"]
is it ok