OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: DarkCell on 10 Nov 2003, 18:05:07
-
Ok it's hard to make A capture and Hold the flag I tell ya! :-\
Why? Becease I keep getting problems First the vehicle Respawn then the Take Flag command won't work AND NOW THIS! >:(
I got the take and Hold flag Tutorial from Tactician
Now everything works fine (ALMOST)
What is the last problem?
Well....Everytime when I wanna take the flag it get's off the DAMN POLE! I wan't the flag to stay on the pole,So I saw his Return script that has to fix the problem but it won't work!
So players can take the flag and run away with it that's not the meaning :-[
So plz tell me what went wrong?
I made 3 triggers for the flags this is how they look like
a=0
b=0
repeating=once
text=Return Flag1
expCond= !isnull (flagOwner flag1)
expActiv= [flag1] exec "return.sqs"
and flag 2 and 3 look the same but then other number offcourse ;)
and This is how my Return script looks like:
_flag = _this select 0
~5
?(!isnull (flagOwner _flag)): goto "return"
Exit
#return
(flagOwner _flag) SetFlagOwner objNull
_flag SetFlagOwner objNull
exit
Somebody sees the problem ?
Plzzz I real mean it Many THNX for the person who can solve this problem! :)
-
1 more thing!
The first time I take the Flag it get's back on the pole after 5seconds ofcourse I know this script has to do something with it:
_flag = _this select 0
~5
?(!isnull (flagOwner _flag)): goto "return"
Exit
The 5 can be changed to 10 or whatever I want to to change the time it returns.
but the flag only get's back once :(
So this are the problems I have:
1: Flag Returns only once.
2:When Flag returns It isn't anymore Captured by anyone so it returns to Resistance side.
So you see I got 2 problems with this return thing.
PLZ Help me out with it I realy getting frustrated by this thing :'(
-
Can nobody help me out?
Plz tell me if you don't understand something or if I don't explain it good enough PLZZZ I need to Fix this problem to finish my map PLZZ PEOPLE! I REALY NEED HELP! :'(