Jump to content
  • 0

Quick SQF Formatting Question!!!


PetuniaEpoch

Question

Hey :) Just a quick question.

 

I to edit the code below, to not use the find safe spot code, and instead force the script to use the exact marker:

 

_where = [getMarkerPos "mis1",0,5500,100,0,20,0] call BIS_fnc_findSafePos;

 

I'm wondering, would it be something like:

 

_where = (getMarkerPos "devilsm2start1");

 

Or perhaps just

 

_where = getMarkerPos "devilsm2start1";

 

Anyone able to help, would be greatly appreciated :)

 

Thanks in advance!

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Perfect! Thanks guys. I posted that just before going to sleep in the early hours - was too tired to code and test at that time of day, so thought I'd post up here first to see if I could learn the 'proper' way to do it, instead of bodging it :D 

 

Cheers for the help!

 

Mike.

 

 

You can use either but my personal habit is to use the first method.

 

 

The last one is the proper way to get the exact position of that marker.

 

http://community.bistudio.com/wiki/getMarkerPos

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...