Jump to content
Sign in to follow this  
zolop

Newbie help on mission building MP

Recommended Posts

Hello everyone.

I am wondering how can I allow the player in my MP mission to respawn. When the dialog if on screen to select resapwn (the default dialog) clicking on that option does absolutely nothing. banghead.gifbanghead.gifbanghead.gif

I was thinking of making a script like this (Its really bad since I have very little experience with scripting). banghead.gifbanghead.gif

Variables

player1=first player

player2=second player

et

? ((player1) = 1) : SetDamage player1 0 and SetPos x,y,z

Problems that exsist when I try to get the positiion of the starting unit. I could use the MovetoWorld or GetPos Function but I have no way of showing that on screen (location wise) so I could use those numbers to put in the formula above.

Another option is making a variable equal to the units position when he starts the map. Put that script in the "Inilialize" section of the "Edit Unit" Field (Position1 = getPos player1).

Any tips or help is apphreiated for making multiplayer maps work correctly. It would be even better if teh Administrators of this made a sticky directing a tutorial on how to complete a basic multiplayer Mission, with Respawn and/or switching units.

EDITed for Progress Report...

TRied... in unit field (player1)

Inilization position1 = getPos player1

Condition ! (alive player1)

On Activation player1 = setDamage 0; player1 = setPos position1

Tried Making a trigger that does the activation, but my coding is wrong because teh music track starts (added in the effects window) but player does NOT respawn.

Share this post


Link to post
Share on other sites

I was looking in the wrong area. I was using the perspective of using the editor only, not editing the mission Desc file.

Sorry about that, as I did do the search but i just used the respawn as a keyword. This is all new to me so I should've used better keywords, but I am really new to this community website and game.

As for the date put in the search feature I left it as default. I am not really sure what dates that could've been.

thanks for your help!

Share this post


Link to post
Share on other sites

Well basicly the default is this month.

If you change it to this year you get more search results. at the end of this year it would be best to start useing the begining i gues cause most of the topics would be a bit old by then.

And about your search words nothing wrong with them.

We all learn someting new everyday wink_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×