|
想做个移动到某区域创建个单位的触发。。。但他莫名其妙的重复创建
Always();
SetSwitch(Switch 32, Clear);
=========================================
Bring(Current Player, Exactly, 1, Unit 230, Location 34);
Switch(Switch 32, Set);
CreateUnitWithProperties(1, Unit 107, Location 34, Current Player, 1);
SetSwitch(Switch 32, Clear);
PreserveTrigger();
=========================================
做了个进入区域加钱的触发没事 求教怎么弄
Always();
SetSwitch(Switch 1, Clear);
========================================
Bring(Force 1, Exactly, 1, Unit 231, Location 0);
Bring(Force 3, Exactly, 1, Unit 230, Location 0);
Switch(Switch 1, Clear);
Comment("Set Swich 001", 0, 0, 0, 0, 0);
SetSwitch(Switch 1, Set);
PreserveTrigger();
=======================================
Switch(Switch 1, Set);
Comment("Add Ore 001", 0, 0, 0, 0, 0);
SetResources(Force 3, Add, 1, Ore);
Wait(400);
PreserveTrigger();
=======================================
Bring(Force 3, Exactly, 0, Unit 230, Location 0);
Switch(Switch 1, Set);
Comment("Clear Swich 001", 0, 0, 0, 0, 0);
SetSwitch(Switch 1, Clear);
PreserveTrigger();
========================================
Bring(Force 1, Exactly, 0, Unit 231, Location 0);
Switch(Switch 1, Set);
Comment("Clear Swich 001", 0, 0, 0, 0, 0);
SetSwitch(Switch 1, Clear);
PreserveTrigger();
======================================== |
|