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
) »
Frogmarching
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Frogmarching (Read 630 times)
0 Members and 1 Guest are viewing this topic.
Nippleboy
Guest
Frogmarching
«
on:
03 Jun 2003, 21:05:35 »
Hi,
How can I make a moving trigger around a walking soldier so that if I move too far away from him he shoots me?
Cheers
Chris
Logged
LCD
Former Staff
Re:Frogmarching
«
Reply #1 on:
03 Jun 2003, 21:13:10 »
set da unit captive (in da init line) : this setcaptive true
now make a triger like dat
Trig
condition field : unitname distance capturername > DistanceHeShotFrom
On activision : unitname setcaptive false
DistanceHeShotFrom is num
LCD OUT
«
Last Edit: 04 Jun 2003, 00:47:58 by LCD
»
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Nippleboy
Guest
Re:Frogmarching
«
Reply #2 on:
03 Jun 2003, 23:10:53 »
unitname distance capturername > DistanceHeShotFrom
unitname setcaptive false
I put this (exactly)
me 15 him > DistanceHeShotFrom
me setCaptive false
Didnt work,
What Is wrong?
cheers
Chris
Logged
Igor Drukov
Contributing Member
Conscientious Subjector
Re:Frogmarching
«
Reply #3 on:
03 Jun 2003, 23:15:09 »
No, that's :
Code:
[Select]
me distance him > 15
distance is no number, it's a command
Logged
Planck
Honoured
Former Staff
I'm never wrong ....I'm just not always right !
Re:Frogmarching
«
Reply #4 on:
03 Jun 2003, 23:15:27 »
DistanceHEShotFrom may need to be a number.
Only a guess though
Crikey......this time Igor beat me to it
Planck
«
Last Edit: 03 Jun 2003, 23:16:31 by Planck
»
Logged
I know a little about a lot, and a lot about a little.
LCD
Former Staff
Re:Frogmarching
«
Reply #5 on:
04 Jun 2003, 00:47:29 »
@ Plance - start writin faster
@ LCD - start explainin more
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
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
) »
Frogmarching
Top of page