Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Direct hit from shell.
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Direct hit from shell. (Read 501 times)
0 Members and 1 Guest are viewing this topic.
The-Architect
Former Staff
Bite my shiny metal...
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?
Logged
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."
Artak
The old beanbag shaker
Former Staff
You want to talk about it, yes?
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
»
Logged
Not all is lost.
The-Architect
Former Staff
Bite my shiny metal...
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.
Logged
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."
The-Architect
Former Staff
Bite my shiny metal...
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
»
Logged
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."
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Direct hit from shell.
Top of page