I am doing a command & conuer stile MP map and have a nut to crack:
I have a truck named "ccwest" and the following trigger:
condition: (player distance ccwest)<20 AND side player == west AND alive(ccwest)
on activation: I = player addaction ["Gebäudemenü","createDialog.sqs"]
on deactivation: player removeaction I
"createdialog.sqs" opens a dialogue that lets the player create buildings, for example a factory, like this:
factwest = "houseammostore2" CreateVehicle [_posx,_posy,0]
I understand that this "factwest" is being created by the client and is available for all clients as created units are being synchronized by the host.
There is another Trigger similar to the one above that lets the player open a dialogue through an addaction he gets when he approaches the factory.
It works fine at the beginning, I can create the factory and can create vehicles at the factory.
HereÂ's the problems:
-When we test the map on a dedicated server on and my buddy creates a factory, I cannot create vehicles at that factory, I donÂ't get an addaction.
-After respawning, the addaction does not reappear, even if it worked before.
Could it be, that the created buildings do exist on other clients but do not have the name e.g. "factwest"?
As always, IÂ'm looking forward to reading the answers of you Masterminds. They solved all my problems so far.
Coyote @ rage.
P.S.: Preview of the map on our clanserver (IP:213.146.191.34:27025, PW: rage) Look for Nogova/ consup 2 public preview