Home   Help Search Login Register  

Author Topic: created vehicles ??  (Read 1398 times)

0 Members and 1 Guest are viewing this topic.

Offline sharkattack

  • Former Staff
  • ****
created vehicles ??
« on: 21 Mar 2007, 20:31:53 »
edit
fixed  used sickboys editor upgrade  resolved issues .......

hi
having big trouble  with a village i have created in editor
problems only present themselves on dedi server  fine if i host ...

Code: [Select]
?! (local server):exit

hut1="Land_hut04" createvehicle (getmarkerpos"a");hut1 SetDir 480;
hut2="Land_hut04" createvehicle (getmarkerpos"b");hut2 SetDir 480;
hut3="Land_hut04" createvehicle (getmarkerpos"c");hut3 SetDir 480;
hut4="Land_hut04" createvehicle (getmarkerpos"f");hut4 SetDir 480;
hut5="Land_hut02" createvehicle (getmarkerpos"g");hut5 SetDir 190;
hut6="Land_hut02" createvehicle (getmarkerpos"h");hut6 SetDir 190;
hut7="Land_hut02" createvehicle (getmarkerpos"i");hut7 SetDir 190;
hut8="Land_hut02" createvehicle (getmarkerpos"j");hut8 SetDir 190;
fl1="Land_fuelstation_army" createvehicle (getmarkerpos"k");fl1 SetDir 325;
bighut1="Land_hut_old02" createvehicle (getmarkerpos"d");bighut1 SetDir 180;
bighut2="Land_hut_old02" createvehicle (getmarkerpos"e");bighut2 SetDir 180;
genny="Land_Vysilac_FM" createvehicle (getmarkerpos"l");genny SetDir 130;
barr1="Land_bouda2_vnitrek" createvehicle (getmarkerpos"br1");barr1 SetDir 330;
barr2="Land_bouda2_vnitrek" createvehicle (getmarkerpos"br2");barr2 SetDir 330;
barr3="Land_bouda2_vnitrek" createvehicle (getmarkerpos"br3");barr3 SetDir 330;
barr4="Land_bouda2_vnitrek" createvehicle (getmarkerpos"br4");barr4 SetDir 330;
chal="Land_sara_stodola2" createvehicle [13877.34,16782.57,0.27];chal SetDir 330;
ht1="Land_hut_old02" createvehicle [13976.03,16729.88,1.87];ht1 setdir 70
brn="Land_sara_stodola" createvehicle [13932.94,16627.93,0.61];brn SetDir 180;
(position player nearestObject 64982 setdammage 1);
(position player nearestObject 0 setdammage 1);
(position player nearestObject 31 setdammage 1);
(position player nearestObject 64983 setdammage 1);
(position player nearestObject 64981 setdammage 1);

my problem is with setdir
ok i done some reading and found a workaround  i need to setdir before i position the vehicle
how could i do this ??  only a problem in mp(dedi server) play .. also the created vehicle name dosnt seem to be recognized if it is destroyed again only on dedi server
eg .. i have a fuelstation again created from the script named fl1 ..  i play in sp or i host and destroy the fuel  the objective is ticked i go to multi play its as if the vehicle name isnt registered  the script is called from the init.sqs

thanx in advance


« Last Edit: 22 Mar 2007, 18:19:28 by shark attack »
"HOLY SARDINE" - see Shark-Attack meet his match