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
) »
a simple action, can be so difficult, why???
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: a simple action, can be so difficult, why??? (Read 1205 times)
0 Members and 1 Guest are viewing this topic.
Gumby
Guest
a simple action, can be so difficult, why???
«
on:
21 Feb 2003, 22:23:06 »
I have tried to make a helicopter land, using the action LAND..
But it returned an error, ok.. Mayby this action does not exist anymore..
therefor I tried to make a guy sit down, using the action SITDOWN...
I got the action from LYSTOPOOHÂ's refenrence doc..
What have i made wrong..
_unit = _this select 0
_unit action [sitdown, _unit]
Many thx in advance..
Logged
LCD
Former Staff
Re:a simple action, can be so difficult, why???
«
Reply #1 on:
21 Feb 2003, 22:35:59 »
da land command
heliname land "land"
da sit down command
unitname switchmove "effectstandsitdown"
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Gumby
Guest
Re:a simple action, can be so difficult, why???
«
Reply #2 on:
21 Feb 2003, 23:09:47 »
But how do I write the ACTION script..
_unit action ["
actionname
"]
Does not seem to work...
Logged
LCD
Former Staff
Re:a simple action, can be so difficult, why???
«
Reply #3 on:
22 Feb 2003, 00:38:38 »
it depends on da action u want ;D and it preferable u dont useaction if u dont have 2
so action like drop weapon wil b
unit action ["DROP WEAPON", unit, 0, 0, (primaryweapon unit)]
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Gumby
Guest
Re:a simple action, can be so difficult, why???
«
Reply #4 on:
22 Feb 2003, 07:12:54 »
Ok, thx..
Do you know if it is necessary to fill every parameter i the action array..
Logged
LCD
Former Staff
Re:a simple action, can be so difficult, why???
«
Reply #5 on:
22 Feb 2003, 10:26:19 »
yes it is ;D
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Gumby
Guest
Re:a simple action, can be so difficult, why???
«
Reply #6 on:
22 Feb 2003, 18:23:26 »
I have tried, but it has no effect...
I tried using this external script, to make a helicopter land..
_unit action ["land",_unit,0,0,0]
But every time i get an error message
action: type string, expected object
What do I do wrong?
Logged
LCD
Former Staff
Re:a simple action, can be so difficult, why???
«
Reply #7 on:
23 Feb 2003, 02:26:56 »
prooly not da right order 4 da action
;D
but y u wanna use da action if u can just script it in oder way nyway ? and i think dere is no land action ;D
LCD OUT
Logged
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing -
O-Team Beta
Gumby
Guest
Re:a simple action, can be so difficult, why???
«
Reply #8 on:
23 Feb 2003, 08:46:17 »
Thx for the help....
Figured it out.. it works now..
I got the chopper to land using AI
With help Knut Erik, who told me where to put the commands.
Thanks alot to LCD and Knut Erik, 2 very patient scripters.
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
) »
a simple action, can be so difficult, why???
Top of page