Hi,
In a MP mission that I'm testing on a dedi server I have an extremely simple action script that don't seem to work. I have no idea why.
I also have some problems with radio triggers. Everything of course works perfectly in SP.
ACTION PROBLEM:
Init.sqs:
inteltaken = false
Trigger1:
Repetedly
Condition: player distance guy < 2 AND ! (inteltaken)
OnActivation: grab = player addaction ["Take Intel Files", "intel.sqs"]
OnDeactivation: player removeaction grab
intel.sqs:
inteltaken = true
publicVariable "inteltaken"
exit
Trigger2:
Once
Condition: inteltaken
OnActivation: "1" objStatus "DONE"; leader heroes sideradio "shortradio"; leader heroes sidechat "Intel Files taken."
heroes is the only players group defined in leaders (playable unit) init line.
Effect:
The action appears in dedi MP and dissapears if not used and when the distance exceeds 2m. But when used/pushed does not dissappear or start Trigger2 that has "1" objstatus "DONE" and the radio sounds. I have no idea why.
RADIO TRIGGER PROBLEM:
A remote group is called decoy (defined in leaders init line) and the leading unit is a tank.
Radio Alpha Trigger:
Repetedly
OnActivation: decoy move decoymoveposition; leader decoy sideradio "shortradio"; leader decoy sidechat "Moving into position"
(decoymoveposition is defined through onMapSingleClick and publicVariable'd every time)
Effect:
The decoy group moves to the right position but no messages are shown or heard. I don't understand.
Please help.
Laggy