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
) »
Looking at target
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Looking at target (Read 587 times)
0 Members and 1 Guest are viewing this topic.
dmakatra
Members
Better known as Armsty
Looking at target
«
on:
24 Aug 2003, 12:59:55 »
Hi. Any1 know how I can make some sort of script condition that makes when a player looks at a specifik object, like a soldier, the condition is checked. That would be great. Many thanks!
Logged
Rubble_Maker
Guest
Re:Looking at target
«
Reply #1 on:
24 Aug 2003, 21:51:55 »
I can explain to you how to make this work, but you will need to know a bit vector math. I'm afraid there is no command in OFP to do this, so you will have to write your own function.
Logged
Unnamed
Guest
Re:Looking at target
«
Reply #2 on:
25 Aug 2003, 03:15:45 »
Hi,
Take a look at this function:
DirToObj
And you may want to use the
KnownsAbout
command to test if the Line Of Site is obscured?
«
Last Edit: 25 Aug 2003, 03:17:25 by Unnamed
»
Logged
dmakatra
Members
Better known as Armsty
Re:Looking at target
«
Reply #3 on:
25 Aug 2003, 08:12:05 »
Thx! I'll look into this later!
Logged
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
) »
Looking at target
Top of page