OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Commando on 08 Feb 2004, 21:08:00
-
Have tried out the hawk uss nimitz carrier and it really is the best west carrier out there for the moment :D
I wanted to make a multiplayer mission with respawn on it but i can't make soldiers that die to respawn on the deck that's located 19 m up. they fall down in the water and die.. Anyone please help me out with a solution :-\
tried setpos code in the init fields of the men but that only works first time when starting mission.
-
try respawning them on land and then jumping them to the carrier.
-
:gunman: i made a mission recently where i had editor addon buildings and objects but it looks so messy :P maybe can take a couple of ladders and setpos them after one and antoher so that they can climb up but i have seen parachute respawn so there should be some way to solve my problem to :beat:
-
Ok, I assume only the west side respawns on the carrier. Make a trigger like this..
Condition: alive player AND side player == WEST
Activation: player setPos [(getPos player select 0),(getPos player select 1),(getPos player select 2) + 19]
Activated repeatedly.
-
Thx tactician for the reply ;D it actually helped me very much, player is that the name of the soldier that is going to be respawned ?
I also noticed that i have to have the respawn marker at the trigger to :)
-
"player" is the loon which is controlled by a human player (duh)...so on MP map, this value (and it is a value, not a name) is different on each comp.....look it like this: AI controlled loon, PLAYER controlled loon ;D
:edit:
when i read Tacticians post correctly, the trigger has to be same size and shape as the respawn marker...and same pos of course
-
when i read Tacticians post correctly, the trigger has to be same size and shape as the respawn marker...and same pos of course
The size and position of that trigger makes no difference.
-
deaddog's right...didn't read it correctly
-
Yeah, if it doesn't have the word "this" in the condition or you use "thislist" somewhere (condition or activation lines), then size and positions, present/not present etc, etc, doesn't matter.
-
ya you're right...i know you're right ;D
-
thx i know if works now, only issue is that ya sometimes fall through the deck on some places or when you respawn but thats just small stuff. ;)
Im kind of sick right now so i can't sit with ofp much or so :P