Re: Dynamic Script Usage
PostPosted: 09 Jun 2013, 17:53
Whats wrong with my coding. i get an error with begin expected. but i don't know where. could someone help my?
- Code:
procedure OnMissionStart; begin //dorp zuidwest Actions.HouseWareBlock(States.HouseAt(44, 143), 1, true); Actions.HouseWareBlock(States.HouseAt(72, 139), 1, true); //dorp noordwest Actions.HouseWareBlock(States.HouseAt(44, 100), 1, true); Actions.HouseWareBlock(States.HouseAt(71, 96), 1, true); //dorp zuidoost Actions.HouseWareBlock(States.HouseAt(146, 131), 1, true); Actions.HouseWareBlock(States.HouseAt(172, 140), 1, true); //dorp noordoost Actions.HouseWareBlock(States.HouseAt(168, 82), 1, true); Actions.HouseWareBlock(States.HouseAt(187, 66), 1, true); //speler 1 Actions.FogCoverCircle (0, 97, 37, 30); Actions.FogCoverCircle (0, 124, 18, 30); Actions.FogCoverCircle (0, 44, 19, 40); //speler 2 Actions.FogCoverCircle (1, 44, 19, 40); Actions.FogCoverCircle (1, 117, 21, 30); Actions.FogCoverCircle (1, 90, 43, 30); end; produce OnTick; begin if States.GameTime = 1200 then begin //speler 1 Actions.ShowMsgGoto(0, 111, 147, '<$0>'); Actions.FogRevealCircle (0, 111, 147, 20); //speler 2 Actions.ShowMsgGoto(1, 111, 147, '<$0>'); Actions.FogRevealCircle (1, 111, 147, 20); Actions.GiveGroup (8, 21, 115, 147, 6, 12, 4); Actions.GiveGroup (8, 21, 115, 154, 6, 12, 4); end; end;