Mineactive works fine in single player when detecting wheter mines are deactivated. However, in multiplayer in never works.
http://community.bistudio.com/wiki/mineActive
Description
Details
- Legacy ID
- 2870395914
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Multiplayer
Create simple mission.
Insert two mines named "mine1" and "mine2" and create simple trigger with condition: !(active mine1) and !(active mine2)
On act: Hint "Mines cleared!"
Put player as engineer on the map and disable the mines.
Observe that the trigger in the mission works fine in SP but fails on server.
Event Timeline
I am also experiencing this issue.
I create an array for my minefield.
_BIS_mines = [];
_BIS_mines = _BIS_mines + [mine1,mine2,mine2,mine3,mine4,mine5,mine6,mine7,mine8,mine9,mine10];
BIS_mines = _BIS_mines;
publicVariable "BIS_mines";
and i have a trigger with the condition "{mineActive _x} count BIS_mines < 1"
In SP, it triggers perfect, but when testing in multilayer, it does not trigger.
@Blake "!(active mine1)" there is no such command "active"
@killenger need more info and possibly a repro.