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
) »
Making a unit not lie down
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Making a unit not lie down (Read 1081 times)
0 Members and 1 Guest are viewing this topic.
Ram TN
Guest
Making a unit not lie down
«
on:
19 Sep 2002, 18:52:52 »
Hey all,
I want to make a unit stand up at all costs and not lie down no matter what happens. I've tried the: this setunitpos "up" command, but it says "unknown operator". Any ideas?
Logged
karz
Guest
Re:Making a unit not lie down
«
Reply #1 on:
19 Sep 2002, 19:11:20 »
This is just a guess, but have you written the command in the units init field? Because if you put it in trigger you have to use unitname instead of "this".
Logged
Gameer_77
Guest
Re:Making a unit not lie down
«
Reply #2 on:
19 Sep 2002, 19:22:17 »
If that's not the problem, make sure there are no variables named this,setunitpos or "up" (That it
). I learned that the hard way with the distance command. Re-installed Resistance and everything. What an idiot! ;D
8)PEACE
Logged
macguba
Former Staff
Re:Making a unit not lie down
«
Reply #3 on:
20 Sep 2002, 03:11:05 »
When I have stuff that doesn't work I always try it in a test mission with nothing else but the crucial bits there ..... that way you can tell if its something wrong with the command/script itself or something happening elsewhere.
When I get "unknown operator" it usually means I've made a typo or silly syntax error somewhere .... check those spaces!!
Logged
Plenty of
reviewed ArmA missions
for you to play
Ram TN
Guest
Re:Making a unit not lie down
«
Reply #4 on:
20 Sep 2002, 08:46:51 »
Well, it's working now, don't know what happend then. Thanks anyway fellas!
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
) »
Making a unit not lie down
Top of page