Jump to content
  • 0

Help: emp untouchable for party.


Question

Posted (edited)

Need help!!!! I can not defend the Imperium from players. Can't use CustleData cos random players in party, and don't understand how use bg_command with instance.

 

 

sry 4 bad eng.

Edited by Extez1

2 answers to this question

Recommended Posts

  • 0
Posted

Please elaborate the problem you currently facing. Provide us with the following or more details if possible:

- Run-time server console errors/warnings (if any).

- Client side errors/warnings (if any).

- Any edits to scripts or source mods (if any).

  • 0
Posted (edited)


1@def02,53,67,4 script EventManager 733,{

end;

OnInstanceInit:

sleep2 1;

set getvariableofnpc( .rednpcname$,instance_npcname("#1F MidgardController")), strnpcinfo(0);

OnStart:

waitingroom "rdy?", getvariableofnpc( .minplayer2start,instance_npcname("#1F MidgardController"))+1,instance_npcname("#1F MidgardController")+"::OnInstanceStart", getvariableofnpc( .minplayer2start,instance_npcname("#1F MidgardController"));

end;

}

1@def02,53,62,1 script #1F MidgardController 139,{

end;

OnInstanceInit:

.minplayer2start = 1;      // minimum players to start (ex. if 3vs3, set to 3)

if ( getwaitingroomstate( 0, .rednpcname$ ) < .minplayer2start )

end;

end;

OnInstanceStart:

'team = waitingroom2bg( instance_mapname("1@def02"), 53,67,instance_npcname("#1F MidgardController")+"::OnRedQuit",instance_npcname("#1F MidgardController")+"::OnRedDead",instance_npcname("EventManager"));

mapannounce instance_mapname("1@def02"), "Team "+'team+" ",bc_map,"0xffff00";

bg_warp 'team,instance_mapname("1@def02"), 28,66;

delwaitingroom instance_npcname("EventManager");

disablenpc instance_npcname("EventManager");

[Warning]: Unexpected type for argument 4. Expected number.

[Debug]: Data: string value="dup_1_110375309::OnRedQuit"

[Debug]: Function: waitingroom2bg

[Debug]: Source (NPC): #1F MidgardController at 0011@def02 (53,62)
Edited by Extez1

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...