Jump to content

Second insertion (respawn) zone


Doc. Caliban

Recommended Posts

I'm sure this can be done, but I don't know the scripting well enough yet.

You're on a mission that sends you from Point A to Point B, and you have to return to Point A for extraction. The (fun) problem is that there are now badguys waiting for you on the way back to Point A. If you die, you respawn .... behind them. Boooo.

Is it possible to set a zone that respawns you at a different location (say, Point B in the above example) so that you can continue the fight from Point B back to Point A?

Something like (laymans terms):

If member of Player1 is killed within x meters of zone whatever, set respawn point to zone respawn2

I don't want it to affect the whole platoon, obviously, so it can't be if just any member of Player1 is in the zone, all members respawn elsewhere. That's no good.

The whole thing would have to be set up as a trigger plan once the objective at Point B is achieved and the new badguys are in place between you and Point A.

Does that make sense?

-Doc

Link to comment
Share on other sites

Off the top of my head:

Trigger:

A member of Players has reached Point B. (ProximityPlatoon)

Responses:

Enable the Alternate Spawn script blocks. (GroupEnable, and make a new group with a name like that)

Trigger:

A player has respawned (Respawn)

Responses:

Allow this block to be reactivated (BlockPreserve)

Continue if Respawning is a valid reference (ContinueIf [i think this is important, not sure, I just remember it from awhile back])

Teleport Respawning to Point B.

Remember you can't teleport actors from one map room to another or you get the portal bug.

Link to comment
Share on other sites

Group: (START)
Comment:
RESPAWN LOOP
Trigger Event:
respawn has respawned as respawn.
Responses:
Allow this block to be reactivated.
Teleport respawn to Zone_XX. < (Example name, zone has been variable set at start)

No need for the valid reference, if a player has respawned, the response will be the first thing to happen.

If you variable set insertion_01 to Zone_XX, then whenever you need to change the insetion, or respawn point, all you need to do is variable set the new new zone needed to Zone_XX and your script requires nothing more.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...