OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: WizzyWig on 27 Apr 2003, 03:02:11
-
i need help ok the jump script works "just" but for some strange reasion when i get a team member to open the jump the ofp engine pulls me in even if im on the outher side of the map can any one sugest a fix or a brand new script all togeher i feel the need to thank the admins and users of this board for all the great help you have proided me this over the past mounth or so i hope some one can help
initserver.sqs
FIXED
InitserverReceive
FIXED
Portal2.sqs
FIXED
-
ok i have fixed the script now i need help i dont now how to set a action that only one team can use.
exsample:::::
ok say your West when you walk up to the stargate u get a option to open iris action come up (my script in side of addon)
what i would like to do is if East walk up to gate thay dont get the option to open the iris is this posible to do inside of the Pbo file or just with the script please help dudes
-
; scripted by wizzywig
_uav1 = _this select 0
_Who = _this select 1
_unit = _this select 0
_malp = _this select 0
pubStartDoor = true
uav1 SetPos (Getpos gate2)
malp SetPos (Getpos gate2)
ok how do i make my script set the hight when i use this script to make my unit jump from one end of map the the other can i also set the hight i hope some one can help with this.
thanks
i tryed the _uav1 setpos [ (getpos _uav1 select 0), (getpos _uav1 select 1), 0]
but all this is doing it moveing the uav to the addon and lifting my addon and putting the uav under it how do i fix this???
-
To change the height try something like this:-
_uav1 setpos [ (getpos _uav1 select 0), (getpos _uav1 select 1), (getpos _uav1 select 2) + X]
where X is the height you want.
-
i tryed that but it moves my addon in the air and puts the uav under it on the ground
-
look i did a ss this is what it dose whne i run the set position
-
what the hell is that ?
Cheaply Star Trek ? ???
-
No not startrek but stargate the problem i have is when i use the send uav script it dose what the pic shows all the units in the script
I.E.
the gate is a transporter ===== you activate it then jump to the other gate point-to-point.
now i have got the human jump working great my problem is i would like to script in a point-to-point jump for my cars or aircraft so when i use the activat uav jump it send the car/air unit to the other gate but i just bundals all the units in the script on one spot. its not working as it should be i would like it to set the posistion or the unit just out side of the outher gate because my script puts even the human unit inside of the outher gate but the gates stay fixed in place and the jump works.
::::::::::Q's:::::::::::
1) how do i set the hight and posistion in a Point-to-point jump?
2) do u have a working addon with this script i need in it?
3) if you can help how soon can you help?
4) do you know stargate if so you will know what i mean?
5) can you make tea if so go make one and think about it
:::::::::::::::::::::::::THANKS:::::::::::::::::::::::::::::
-
**BUMP**
need help soon
-
splutter splutter
sorry got cold and ops i bumped this again i realy need help dudes
**BUMP**
-
I think it must be:
_uav1 setpos [ (getpos _uav1 select 0), (getpos _uav1 select 1), (getpos _uav1 select 2)] + X
-
ok i did say i think that i have the moveing the uav pard done it jumps but what i need is for the jump to after the jump is compleat its it rise it up to drive down a ramp all so needed for the jumpers
-
*kinda a bump*
im still looking for help as i said the jump works cool i just want a script that sets the pos about 2m above the ground to stop my units a craft droping into the gate addon i maid
i hope you can help
-
unit setpos [(getpos gate2 select 0), (getpos gate2 select 1), 2]
That will put whatever "unit" is at gate2's exact position, except 2 meters above the ground.