Map Initialization
Variable - Set Morning Region[1] = Morning - Position 1
Variable - Set Morning Region[2] = Morning - Position 2
Variable - Set Morning Region[3] = Morning - Position 3
Variable - Set Morning Region[4] = Morning - Position 4
Reset Position
General - For each integer A from 1 to 4 with increment 1, do (Actions)
Actions
Unit - Move Participant[A] instantly to (Center of Morning Region[A]) (No Blend)
Okay, I have a trigger that fires those line of triggers to reset the positions of some units to a specific region, however it doesn't seem to be working. Here's the error in the debugger:
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'point' from parameter in 'UnitSetPosition' (value: 65535)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
It sounds like the variables aren't declared at all, even though it is.
Map Initialization
Variable - Set Morning Region[1] = Morning - Position 1
Variable - Set Morning Region[2] = Morning - Position 2
Variable - Set Morning Region[3] = Morning - Position 3
Variable - Set Morning Region[4] = Morning - Position 4
Reset Position
General - For each integer A from 1 to 4 with increment 1, do (Actions)
Actions
Unit - Move Participant[A] instantly to (Center of Morning Region[A]) (No Blend)
Okay, I have a trigger that fires those line of triggers to reset the positions of some units to a specific region, however it doesn't seem to be working. Here's the error in the debugger:
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'point' from parameter in 'UnitSetPosition' (value: 65535)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
00:00:00.00 Trigger Error in 'gt_ResetPosition_Func': Could not get 'region' from parameter in 'RegionGetCenter' (value: 0)
It sounds like the variables aren't declared at all, even though it is.
@DarkForce9999:
Bump, I am taking this as a new editor bug?