Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
farix

Action To Move to a certain height

Recommended Posts

Well , i'm on a roll now i've asked 3 questions today. My Mission is almost fully complete now but it seems that everything invovled with the carrier has problems. The Respawn points within the carrier are bugged and spawn you in the water , this is not fixable becuase the opposite side respawns on stable ground. So i was wondering if their is a way to use a trigger to add a action when a player is in a certain area to teleport to a certain height , say 18

So if the player is in the water inside the respawn area he can hit the action to move to 18 (the carrier deck).

Thanks =D

-Farix

Share this post


Link to post
Share on other sites
player setPos [getPos player select 0, getPos player select 1, 18];

Share this post


Link to post
Share on other sites

can't be that simple =P i'll give it a try\

---------- Post added at 06:01 PM ---------- Previous post was at 05:59 PM ----------

Nope =( Dosen't seem to do anything

Share this post


Link to post
Share on other sites

Put a trigger around the respawn area, BLUFOR PRESENT REPEATEDLY:

Condition:

(player in thislist) && ((getPosASL player select 2) < 5)

onAct:

player setPosASL [getPosASL player select 0, getPosASL player select 1, 18];

Edited by kylania
Changed to 5m so you could use the lower level of the Khe Sanh.

Share this post


Link to post
Share on other sites

Sorry to bump a old post. But would it be possible to use this script for empy vehciles , and occupied vechiles as well ?

How would i go about changing it

Share this post


Link to post
Share on other sites

Empty vehicles won't wander into the area around a carrier like that. You'd use something like Tophe's Simple Vehicle Respawn Script and simply add the setPosASL stuff into the vehicles init line as it explains in the respawn script's documentation.

Share this post


Link to post
Share on other sites

Well i can't use other scripts to spawn the vehciles . i'm using the warfare module to spawn everything. is it possible to modifiy this script to allow the vechiles to spawn at certain height ?.

This is just conidering Manned Vechiles

Edited by farix

Share this post


Link to post
Share on other sites

Warfare is a mystery to me with it's single letter variables and it's whats-an-rts-doing-in-my-fps gameplay, so I have no idea how it spawns things or how to change that. :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

×