Home   Help Search Login Register  

Author Topic: Teleport Script... Not Work several times!!!  (Read 1629 times)

0 Members and 3 Guests are viewing this topic.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Teleport Script... Not Work several times!!!
« on: 22 Jan 2011, 23:58:32 »
Hi all ...!!

I'm trying to make a teleport scritp, I think it's so. Ok this is what I've done !!!

1. I put two soldiers -----> side West

2. i put a house on the map

3. I put a Castle -----> Name. Maruh

4. I Put a trigger and this are parameters:

Activation ----> West -----> several times
Condition ----> This
OnActivation ----> plye = thislist ; Qp = true

5. I put another trigger and this are parameters

Several times
Condition ----> Qp
Onactivation ----->  {_x setPos [(getPos Maruh select 0) , (getPos Maruh select 1) , 22]} foreach plye
 
I need is that the above is repeated several times..!!! Just work 1 time

~aldo

 
« Last Edit: 23 Jan 2011, 00:00:05 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: Teleport Script... Not Work several times!!!
« Reply #1 on: 23 Jan 2011, 07:01:28 »
You only need one trigger.
Side  >>  Repeatedly
Condition: this
OnActivation: {_x setpos [(getpos Maruh select 0),(getpos Maruh select 1),22]} foreach thislist

The variables may be messing things up for you, because you never switch their status which could prevent the trigger from deactivating thus preventing it from re-activating.

The above will work though and free up unnecessary variable space as well as decrease the amount of trigger usage.


Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Teleport Script... Not Work several times!!!
« Reply #2 on: 23 Jan 2011, 14:56:17 »
Ohh !!! Worked !!!!  :D

Hey Thanks You!!! :good:


I have another question: I've decrypted the PaindBall Mission, to play it in the editor. I changed some weapons and I put some Addons, but when I save in Multi-player and I try play, I can not play it because the mission is completed, without I can play.!!!

~Aldo
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: Teleport Script... Not Work several times!!!
« Reply #3 on: 23 Jan 2011, 22:52:50 »
That means that the condition for the end trigger is being satisfied at mission start. Find the end trigger and make sure that the condition is what you need it to be.

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Teleport Script... Not Work several times!!!
« Reply #4 on: 25 Jan 2011, 04:29:54 »
the truth isn't the trigger because it only I've changed somo weapons. I have not modified nothing. Why not try?
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: Teleport Script... Not Work several times!!!
« Reply #5 on: 25 Jan 2011, 05:29:59 »
Being that this is Multiplayer, perhaps its better that you search that area first and then post a topic if you find nothing. Don't post about it anymore into this one since it covers a different topic. Thanks.