Page MenuHomeFeedback Tracker

enableSimulation not working in a MP environment.
Closed, ResolvedPublic

Description

as per the title, the enableSimulation command is not functioning in MP(Dedicated Server) Environments.

Details

Legacy ID
4276014084
Severity
Major
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Go into the editor and place say a wall like this:

		class Item0
		{
			position[]={2162.7915,-1.7642975e-005,5564.438};
			azimut=9.5163603;
			id=16;
			side="EMPTY";
			vehicle="land_mil_wallbig_4m_f";
			skill=0.2;
			init="this call {_r = getpos _this; _r set [2,-1.7642975e-005]; _this setpos _r}; this allowDamage false; this enableSimulation false;";
		};

then save it into a MP Mission and host it on a dedicated server and go and throw a grenade at the wall, and it will fall over even though damage and enablesimulation are false. I have also tried with numorous other walls and they all fall over...

Event Timeline

Stapo edited Steps To Reproduce. (Show Details)Mar 28 2013, 2:41 PM
Stapo edited Additional Information. (Show Details)
Stapo set Category to Scripting.
Stapo set Reproducibility to Always.
Stapo set Severity to Major.
Stapo set Resolution to No Bug.
Stapo set Legacy ID to 4276014084.May 7 2016, 1:15 PM

This is odd, as I am using a similar set up and am not having this issue. Attach a reproduction mission?

Still waiting for additional info. Does it still happen after all?

Enablesimulation false does not stop objects from taking damage, this is default behaviour. If the wall gets damaged with allowdamage false then the problem is not with enablesimulation.

I've just tested both commands in MP, both work as they should. Think this ticket can be closed.