Jump to content
  • 0

help Battleground script


luis_seifert

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  09/24/14
  • Last Seen:  

Hello folks, i'm tryning to make this happen in battleground:

 - when you die you still dead for 10 seconds, then you are ressurrected in the same spot that you have died

 

what actually happen:

 - insta respawn in the spawn coordinates of team. 

 

Thanks for the help. /kis

 

also, i'm using AnnieRuru custom BG script... 

OnRedDead:
    .bluescore++;
    announce ""+strcharinfo(0)+" morreu", bc_map; // just a test to see if its attached
    message ""+strcharinfo(0),"Espere 10 segundos para ser revivido!";
    bg_updatescore "guild_vs4",.redscore,.bluescore;
    sleep2 10000;
    percentheal 100,100;
    end;

I know that is missing the ressurrect command because he is respawning at the same time... 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  80
  • Reputation:   1
  • Joined:  10/08/13
  • Last Seen:  

Try this:

recovery <type>{,<option>,<revive_flag>{,<map name>}};
 Description

This command will revive and fully restore the HP/SP of the selected characters. It returns 1 upon successful use.

type	             option
0: Player	Character ID number
1: Party	Party ID number
2: Guild	Party ID number
3: Map	Map name (a string)
4: All	None (takes <revive_flag> as option)

If no option is specified, the invoking player's character ID, party ID, guild ID, or map will be used.
<revive_flag> determines the action:
flag	Description
1	Revive and heal all players (default)
2	Heal living players only
4	Revive dead players only


<map name> can optionally be used to define a single map to execute the command on for types 1 (party) and 2 (guild).
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
Answer this question...

×   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...