Page MenuHomeFeedback Tracker

Player's code in init field is re-executed when someone JIP's into mission
Closed, ResolvedPublic

Description

Trying to add custom gear to a unit is fine but as soon as someone joins in progress to a mission everyone already playing in-game will have their gear that was added duplicated.

I have tried added gear with scripts that work in ArmA 2 with no problems but in ArmA 3 when someone jip in on a dedicated or player hosted server the script is re-executed.

Details

Legacy ID
3553723956
Severity
None
Resolution
Duplicate
Reproducibility
Always
Category
Engine
Steps To Reproduce
  1. Make jip compatible mission with respawn_west marker and respawn = "BASE"; in description.ext
  2. place 2 west units with the code: this addMagazine "30Rnd_65x39_caseless_mag"; in their init field and make them playable.
  3. Save as multiplayer mission.
  4. Start up and play the mission.
  5. After 1st player is loaded and playing the mission have 2nd player join the mission.
  6. 1st player (non jip) should have been given another 2nd magazine because of JIP player. JIP player has the right gear with no extra magazine.
Additional Information

I have tried every ArmA 2 gear script I can find with no luck always finding a problem as soon as someone jips in.

Event Timeline

Source edited Steps To Reproduce. (Show Details)Dec 13 2013, 11:25 PM
Source edited Additional Information. (Show Details)
Source set Category to Engine.
Source set Reproducibility to Always.
Source set Severity to None.
Source set Resolution to Duplicate.
Source set Legacy ID to 3553723956.May 7 2016, 5:37 PM