Home   Help Search Login Register  

Author Topic: Direct hit from shell.  (Read 501 times)

0 Members and 1 Guest are viewing this topic.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Direct hit from shell.
« on: 16 Mar 2004, 18:21:44 »
Hi guys,
I want to be able to have a direct hit on an object from a shell.

I presume I need to setpos a certain type of round but I don't know how it's done.
Is it just a matter of creatin a trigger?
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Direct hit from shell.
« Reply #1 on: 16 Mar 2004, 18:24:40 »
You can do that with a trigger, yes. Anything really, where you can insert code.

bomb1 = "laserguidedbomb" camcreate getpos player

try that in a trigger's on activation field.
« Last Edit: 16 Mar 2004, 18:24:50 by Artak »
Not all is lost.

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Direct hit from shell.
« Reply #2 on: 16 Mar 2004, 18:28:23 »
Excellant  ;D
What a bang.
So if I want it somewhere else do I just change "player" bit to any other object like perhaps an invisible H? Obviously al long as I've given it a name.
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Direct hit from shell.
« Reply #3 on: 16 Mar 2004, 18:31:09 »
He he he, Yeah it worked  ;D BOOOOOOOOOOOM!
Cheers man.
:cheers:

P.S. I'll check the ed depot for some more weapon types.
« Last Edit: 16 Mar 2004, 18:36:03 by The-Architect »
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."