IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
2 Pages V  < 1 2  
Reply to this topicStart new topic
> UAV RQ-1 Predator, StandAloneAddon
Linker Split
post Mar 23 2008, 16:00
Post #21


literally the BIG BOSS of OFP
Group Icon

Group: Addon Maker
Posts: 1,532
Joined: 12-November 06
From: Bari (ITALY)
Member No.: 66



QUOTE(Mace_3000_99 @ Mar 23 2008, 13:37) *
hey guys,

i cant seem to run the mru

im getting an error ingame
"error 0 elements provided, 3 expected"

i am spawning the mru via my script console. but im not sure how that is different from spawning it from the mission editor which works fine with the mru

thanks

mace

that error comes when you run a script, but in the [ brackets you didn't insert all the variables which will be executed in the script.
In this case, seems to me like you write something like this:

CODE
[] exec "blablabla.sqs"
or
CODE
"anything" exec "blablabla.sqs"

while it should be:
CODE
[var1,var2,var3] exec "blablabla.sqs"


--------------------
Visit my blog about Poker at Blogspot.com


-->TUTORIAL ON HOW TO MAKE NORMAL MAPPING IN ARMA!<--
-->MATERIAL EDITOR TUTORIAL!<--
-->DOWNLOAD MY HDT ISLAND!<--
judgement = hypocritical and slightly deluded
 
Quote Post
Mace_3000_99
post Mar 24 2008, 06:36
Post #22


New Member
*

Group: Members
Posts: 7
Joined: 23-March 08
Member No.: 2,746



im pretty sure its the name of the units im spawning that is causing the prob, i have no idea how to name the unit in the script

i have

_t="EMSI_MRQUAVS2" createvehicle [0,0,0]
_t SetPos [(getpos player select 0)+10,(getpos player select 1),(getpos player select 2)];
_t setdir getdir player
_t Lock FALSE;

and basically the same for the mru unit,

_t="EMSI_MRU" createvehicle [0,0,0]
_t SetPos [(getpos player select 0)+10,(getpos player select 1),(getpos player select 2)];
_t setdir getdir player
_t Lock FALSE;

but im pretty sure it needs a name (as in "uav" for the predator and "mru" for the mru unit) to reference the objects to. i have tried a few different ways to name the unit but still no good
 
Quote Post
Linker Split
post Mar 25 2008, 00:54
Post #23


literally the BIG BOSS of OFP
Group Icon

Group: Addon Maker
Posts: 1,532
Joined: 12-November 06
From: Bari (ITALY)
Member No.: 66



that script doesn't work only with the unit's name input as variable... it needs 3 variables.
so first find the other 2 variables you should insert smile.gif


--------------------
Visit my blog about Poker at Blogspot.com


-->TUTORIAL ON HOW TO MAKE NORMAL MAPPING IN ARMA!<--
-->MATERIAL EDITOR TUTORIAL!<--
-->DOWNLOAD MY HDT ISLAND!<--
judgement = hypocritical and slightly deluded
 
Quote Post
Mace_3000_99
post Mar 25 2008, 07:13
Post #24


New Member
*

Group: Members
Posts: 7
Joined: 23-March 08
Member No.: 2,746



hmm i really have no idea. still cant seem to spawn it via script

is any1 able to write me a script that lows me to spawn the uav and mru on the fly so i can just spawn it ingame..

would be much appreciated

 
Quote Post
EMSI
post Mar 25 2008, 21:01
Post #25


Member
Group Icon

Group: Addon Maker
Posts: 177
Joined: 26-July 07
From: Slovakia
Member No.: 1,013



If I understand correctly, you have problem with launching UAV management with Predator in your mission.
Solution is so easy: unpack attached demo mission (attached in UAV management archive) and there you can see solution how to launch this.
Of course, if you don't read PDF manual mellow.gif


--------------------
 
Quote Post
SneakyPeaky
post May 22 2008, 11:38
Post #26


New Member
*

Group: Members
Posts: 9
Joined: 15-May 08
Member No.: 3,150



Very good indeed, add some HellFire Missiles and it'll be perfect! ^.^
 
Quote Post
EMSI
post May 30 2008, 22:45
Post #27


Member
Group Icon

Group: Addon Maker
Posts: 177
Joined: 26-July 07
From: Slovakia
Member No.: 1,013



Heh ... version MQ-1 has two Hellfires blink.gif ... probably you see only RQ-1 version


--------------------
 
Quote Post

2 Pages V  < 1 2
Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st June 2024 - 08:29