![]() |
![]() ![]() |
![]() |
![]()
Post
#21
|
|
![]() literally the BIG BOSS of OFP ![]() Group: Addon Maker Posts: 1,532 Joined: 12-November 06 From: Bari (ITALY) Member No.: 66 ![]() |
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 |
|
|
![]()
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 |
|
|
![]()
Post
#23
|
|
![]() literally the BIG BOSS of OFP ![]() 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 ![]() -------------------- 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 |
|
|
![]()
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 |
|
|
![]()
Post
#25
|
|
![]() Member ![]() 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 ![]() -------------------- ![]() ![]() ![]() |
|
|
![]()
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! ^.^
|
|
|
![]()
Post
#27
|
|
![]() Member ![]() Group: Addon Maker Posts: 177 Joined: 26-July 07 From: Slovakia Member No.: 1,013 ![]() |
Heh ... version MQ-1 has two Hellfires
![]() -------------------- ![]() ![]() ![]() |
|
|
![]() ![]() ![]() |
Lo-Fi Version | Time is now: 21st June 2024 - 08:29 |