Jump to content
  • 0

i need help with a script


Mavrick88

Question

 7 attachTo !="EP_light attachTo [player];" !=_bomb attachTo [_unit, [0,0,0],\"Pelvis\];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !=EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];" !="_cage attachTo [_cage2,[0,1.3,0]];" !="_bomb attachTo [_nestMate, [0,0,0],\"Pelvis\];"
 
This is the code line that we are having an error with.
 
______________________________________________________________________
 
This is the script.log error that pops up:
 
09.05.2015 19:19:20: JoeSirYT (98.127.41.217:2304) 2711256c54d6a7084a87f049cdf327c4 - #4 "1 = "#particlesource" createVehicleLocal getpos _v;
_smoke1 attachTo [_v,[0,0,0],"engine_effect_1"];
_pos = getPos _smoke1;
dele"
 
Here's the Options I've tried:
!="#particlesource" createVehicleLocal getpos _v;"
!="_smoke1 attachTo [_v,[0,0,0],"engine_effect_1"];"
!="_pos = getPos _smoke1;"
!="dele"
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Mavrick88...

 

 

You need regex encoding
 

!="_smoke1 attachTo [_v,[0,0,0],\"engine_effect_1\"];"

This is the correct way - I added this ages ago. Had nothing to do with 0303 update. 

 

If my memory serves me correct, it was due to SEM or one of the other AI missions scripts.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...