OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: GW on 13 May 2010, 11:58:58

Title: How to use joint script of Thobson?
Post by: GW on 13 May 2010, 11:58:58
I want to use this script,i did't know how to mention coordinates in trigger.help
i ask thobson by sending pm to him,but no response he make.
Title: Re: How to use joint script of Thobson?
Post by: bedges on 13 May 2010, 16:59:58
I think you need to provide some more information here:


The more details you can give about the problem the more likely it is someone can assist you. Simply saying "I can't use this. help" is not going to get you much of a response.  :confused:

We all know how frustrating it is when you're having fun editing and then get stuck with a problem, but it's equally frustrating - if not moreso - to be part of a site like OFPEC which exists solely to help editors, and not be able to help because there's not enough information. It's like being a medic on the battlefield, rushing to the aid of a soldier who is screaming in pain, but he doesn't tell you which bit hurts.  :dunno:
Title: Re: How to use joint script of Thobson?
Post by: RKurtzDmitriyev on 13 May 2010, 17:59:52
Are you talking about this script (http://www.ofpec.com/ed_depot/index.php?action=details&id=286), GW? I don't see any point where you need to enter in trigger co-ordinates. There's a readme in the script package with numerous examples, and even a demo mission.

You do need to enter in the name of a trigger in order to execute this script. Give the trigger a name by filling in the name field of the trigger dialog box in the mission editor.

Is it possible you're using an outdated version of this script that required trigger coordinates to be in the parameters?
Title: Re: How to use joint script of Thobson?
Post by: GW on 13 May 2010, 18:34:29
ok guys this is the mission,in which i want that all will join me,but i have to join all,i did't understand how to set


"[object 7312,5,12,trigALLWest] exec ""joinUpUnits2.sqs""";  7312
Title: Re: How to use joint script of Thobson?
Post by: bedges on 13 May 2010, 19:31:40
Make sure editor is set to Advanced mode.
Click the Show IDs button.

See image.
Title: Re: How to use joint script of Thobson?
Post by: GW on 13 May 2010, 19:45:28
thats very good examples,thank you.
Title: Re: How to use joint script of Thobson?
Post by: RKurtzDmitriyev on 13 May 2010, 19:46:41
Are you looking for the object closest to the player, riffleman? You can just put player as the first parameter of the script:

Code: [Select]
[player, 5, 12, trigALLwest] exec "joinUpUnits2.sqs"

The closest object to the player is always the player. :P Of course, bedges is right, you can use the "Show IDs" button to show the ID numbers of map objects.

Does that answer your question? :cool2:
Title: Re: How to use joint script of Thobson?
Post by: THobson on 13 Jul 2010, 13:33:33
Sorry I did not reply to the pm.  I don't often come here much now.  I see you guys did a good job of sorting out the problem.  I believe I put my email address in most of my scripts that would get me every time.

Very sorry to hear about Planck.