comment
{
  getunit
  {
	curunit=0;
  }
  tmpstrindex=1;
  dialogue
  {
	talk="！？，我在“%s”遭遇突发状况~~!";
	talkid=0;
  }
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=15;
  }
}

comment
{
  function
  {
	func_call="BeginFight()";
	threadLV=2;
  }
}

comment
{
  GameSystemMode="B101",1;
  function
  {
	func_call="PlaySceneBGM()";
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=1400,30,2900;
	lookdir=-50,0,0;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=-350,40,1700;
	lookdir=0,0,100;
	setST=0x1000;
	setNPC="B1000 0100",1;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	setpt=-220,40,1700;
	lookdir=0,0,100;
	setST=0x1000;
  }
  camera
  {
	lookpt=-300,130,1834;
	roll=0.3;
	yaw=-2,0,0.001;
	distance=-400;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=3;
  }
  unitctrl
  {
	setpt=-300,40,2000;
	lookdir=0,0,-10;
	setST=0x1000;
  }
  wait=0.5;
}

comment
{
  screen
  {
	dstframe=0;
	speed=5;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="注意, 别让它跑了~~~";
  }
  wait=3;
}

comment
{
  dialogue
  {
	talk="最近这个僵尸一直在这里危害路人。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="这回我们要为民除害。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=3;
  }
  sound
  {	
	file="DATA\Character\Effect\ZHou.wav";
  }
  unitctrl
  {
	motact="DATA\Character\Motion\FistWZombie.mot";
  }
}

comment
{
  WaitActionKey=0x7fff;
}

comment
{
  wait=1;
}

comment
{
  unitctrl
  {
	gotopt=-38,30,2210;
  }
  camera
  {
	lookpt=0,100,0,1;
	yaw=0;
	swing=1;
  }
}

comment
{
  unitctrl
  {
	lookdir=100,0,0;
  }
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=602,30,2200;
	gotopt=150,30,2200;
	moving=1;
  }
}

comment
{
  unitctrl
  {
	setST=0x20000,2;
  }
  wait=1;
}

comment
{
  unitctrl
  {
	setST=0x1000,300;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=-200,30,2400;
	lookpt=-38,0,2210;
	swing=1;
  }
  dialogue
  {
	talk="别人它跑了, 免得它再害人~~~";
	dlgtype="!";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	gotopt=-200,30,2050;
	lookpt=-38,0,2210;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="什么情况、、、？";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="这个僵尸最近一直在这路段危害过往的路人。";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="请帮我们一起消灭它！";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="OK，没有问题~！";
	lifetime=3;
  }
  camera
  {
	lookpt=0,100,0,1;
	swing=1;
  }
  wait=2;
}

comment
{
  msglist
  {
	strings="胜利条件：消灭僵尸
败北条件：我方有人被打倒";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	soundID=7;
	type=1;
	fontID=2;
  }
  wait=1;
  GameSystemMode="B101",0;
  return;
}

#BOOKMARK_EXIT://———————————————————————————————————

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=5;
  }
  bgcolor=0;
}

comment
{
  function
  {
	func_call="StartWorldMap()";
	threadLV=2;
  }
}

comment
{
  screen
  {
	dstframe=0;
	speed=15;
  }
}

comment
{
  function
  {
	func_call="PlaySceneBGM()";
  }
  return;
}

#BOOKMARK_WIN://———————————————————————————————————
comment
{
  wait=3;
  GameSystemMode="B1",1;
}

comment
{
  screen
  {
	mode=0;
	color=0;
	dstframe=0xff;
	speed=10;
  }
  bgcolor=0;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	setpt=-300,30,2000;
	lookdir=0,0,-100;
	setST=0;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	setpt=-300,30,1834;
	lookpt=-300,30,2000;
	setST=0;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	setpt=-350,30,1770;
	lookpt=-300,30,2000;
	setST=0;
  }
}

comment
{
  screen
  {
	dstframe=0;
	speed=10;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="谢谢你的帮忙！";
	lifetime=3;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="不用谢，随手的事。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="… …";
	conditional="招募她们",
				"离开此地";
	cond_goto="JOIN","";
  }
}

comment
{
  dialogue
  {
	talk="我还有事，就此告别。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="您走好，再见";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=1400,30,2900;
	swing=1;
	moving=1;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=-100,30,-300;
	swing=1;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	gotopt=-100,30,-300;
	swing=1;
	moving=1;
  }
  wait=2;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_LOSE://———————————————————————————————————
comment
{
  msglist
  {
	strings="很遗憾，任务失败。";
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	type=5;
	fontID=2;
	screen_perpt=0.5,0.7;
	posoffset=-0.5,-0.5;
  }
  wait=7;
  GameSystemMode="B1",1;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_LOSE1://———————————————————————————————————
comment
{
  msglist
  {
	strings="没能保护战友，任务失败。";
	soundID=0;
	color=0xffffffff,0xffffffff,0xffff0000,0xffff0000;
	outlinecolor=0x770000ff;
	waittime=5;
	type=5;
	fontID=2;
	screen_perpt=0.5,0.7;
	posoffset=-0.5,-0.5;
  }
  wait=7;
  GameSystemMode="B1",1;
}

comment
{
  goto="EXIT";
}

#BOOKMARK_JOIN://———————————————————————————————————
comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="我们队伍最近缺人，两位有没有兴趣加入啊？";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="可以啊，我正想找个地方大打一场呢。";
  }
  unitctrl
  {
	setST=0x8000000,3;
	setNPC=0,2;
  }
  wait=3;
}

comment
{
  dialogue
  {
	talk="象打这种小僵尸根本不够K的。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="那太好了，欢迎、欢迎。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="抱歉，我恐怕不行。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	lookpt=-350,0,1700;
  }
}

comment
{
  getunit
  {
	id=2;
  }
  dialogue
  {
	talk="我要留在村里，保护我的乡民。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=0;
  }
  dialogue
  {
	talk="那，倒是有点可惜了。";
  }
  wait=3;
}

comment
{
  dialogue
  {
	talk="新加入的朋友，我们一起走吧。";
	lifetime=3;
  }
  wait=3;
}

comment
{
  getunit
  {
	id=1;
  }
  dialogue
  {
	talk="好~~~~";
	lifetime=3;
  }
  unitctrl
  {
	lookpt=-300,30,2000;
  }
  wait=2;
}

comment
{
  getunit
  {
	id=0;
  }
  unitctrl
  {
	gotopt=1400,30,2900;
	swing=1;
	moving=1;
  }
}

comment
{
  getunit
  {
	id=1;
  }
  unitctrl
  {
	gotopt=1400,30,2900;
	swing=1;
	moving=1;
  }
  wait=1;
}

comment
{
  getunit
  {
	id=2;
  }
  unitctrl
  {
	gotopt=-100,30,-300;
	swing=1;
	moving=1;
  }
  wait=3;
}

comment
{
  goto="EXIT";
}