Home   Help Search Login Register  

Author Topic: Hi guys - this is ridiculous I know n00bness  (Read 1425 times)

0 Members and 1 Guest are viewing this topic.

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Hi guys - this is ridiculous I know n00bness
« on: 24 Nov 2007, 15:23:08 »
Hello after many years off ofp I finally got round to getting Arma, I used to mess about with missions and also help others on here years ago when i knew what i was doing  :P

So simple question, refresh my memory if you can. What code would I put in the init for an explosion to occur in a trigger?

I remember ofp used to be something like grenade = "shell105" camcreate [getpos this select 0, getpos this select 1]

Arma isnt recognising the same sort of thing. using "Sh_105_HE" from the weapons list doesnt work etc,.

Please help as I really cannot remember anything these days  :cool2:
Beer is the fuel for the Heavy Metal Engine.

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Hi guys - this is ridiculous I know n00bness
« Reply #1 on: 24 Nov 2007, 15:28:11 »
Hey there! Welcome back to the wonderful world of ArmA editing!  :D

Two things:

1) Use CreateVehicle instead.

Bomb123 = "SH_105_HE" createVehicle getpos [dude select 0, dude select 1]

Should work.  :)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Re: Hi guys - this is ridiculous I know n00bness
« Reply #2 on: 24 Nov 2007, 15:32:57 »
EDIT: thanks wolfrung when i stopped being a spanner i got it to work  :P

« Last Edit: 24 Nov 2007, 15:44:01 by Davies1 »
Beer is the fuel for the Heavy Metal Engine.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Hi guys - this is ridiculous I know n00bness
« Reply #3 on: 24 Nov 2007, 15:45:08 »
wolfrug got da code mystiriusly wrong :P

it shud b

Bomb123 = "Sh_125_HE" createVehicle  [getpos dude select 0, getpos dude select 1,getpos dude selec 2]

or in short

Bomb123 = "Sh_125_HE" createVehicle  (getpos dude)

so dat shud b it :D

LCD OUT

P.S

WELCOME (BACK) 2 OFPEC M8

« Last Edit: 25 Nov 2007, 00:23:17 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Hi guys - this is ridiculous I know n00bness
« Reply #4 on: 24 Nov 2007, 18:50:43 »
ummm, yes, but it does have "Sh_105_HE", used by the M119 Static gun.   :P


Planck
I know a little about a lot, and a lot about a little.

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Hi guys - this is ridiculous I know n00bness
« Reply #5 on: 24 Nov 2007, 19:23:27 »
What is a millimetre between friends? :P
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Hi guys - this is ridiculous I know n00bness
« Reply #6 on: 25 Nov 2007, 00:24:10 »
w00t ? did i say it doesnt have ? where ?  ::) ;)

and mil is not dat much 4 me :P

LCD OUT

[note] an editing wizard :P
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Hi guys - this is ridiculous I know n00bness
« Reply #7 on: 25 Nov 2007, 02:01:51 »
Even I have no idea what I was talking about earlier. For some reason I was convinced that Wolfrug had used the "SH_106_HE" when it should have been the "SH_105_HE". I should stop trying to read, it just gets me confused :whistle:
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline Davies1

  • Members
  • *
  • Bugger this for a game of soldiers!
Re: Hi guys - this is ridiculous I know n00bness
« Reply #8 on: 25 Nov 2007, 10:33:52 »
 :clap: whao there LCD you're still knocking about haha!

How goes it? thanks for the help BTW everyone
Beer is the fuel for the Heavy Metal Engine.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re: Hi guys - this is ridiculous I know n00bness
« Reply #9 on: 25 Nov 2007, 15:05:18 »
@ spooner... yup ive got dis device dat make u forget everything  :whistle:  :D as long as u donno wat was wrong... nothin was wrong :D

@ Davies1 : i came back bout 3-4 months ago :D and it goes kool ;)  :cool2:  :D

alwayz glad 2 help :D

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