Page MenuHomeFeedback Tracker

Vehicle actions are still available when Enablesimulation False
New, WishlistPublic

Description

Issue:
When false and applied to a vehicle, the getin actions and inventory can be accessed, although if you attempt to get in, your screen will end up black and no way of returning to normal view. This can ofcourse be worked around by locking the vehicle, but the mission maker would beed to remember this
(This bug is pre 1.48)

Suggestions:
Enablesimulation False, should remove all actions or interaction with the object so that the object is then just a model with textures, nothing more.
e.g. does not get returned with vehicles array etc, in the case of a vehicle

Details

Legacy ID
1847691400
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

place any enterable vehicle in the mission editor and enter the following into it's init field

enablesimulation False;

Event Timeline

Terox edited Steps To Reproduce. (Show Details)Jul 17 2015, 3:33 PM
Terox set Category to Scripting.
Terox set Reproducibility to Always.
Terox set Severity to None.
Terox set Resolution to Open.
Terox set Legacy ID to 1847691400.May 8 2016, 12:23 PM
Terox edited a custom field.
R34P3R added a subscriber: R34P3R.May 8 2016, 12:23 PM

Sounds good.. +1

Adding this feature to enableSimulation could potentially break a lot of scripts that rely on this behavior. I would suggest adding a command to disable all actions on a specific object instead.

Terox added a subscriber: Terox.May 8 2016, 12:23 PM
Terox added a comment.Aug 1 2015, 3:13 PM

DisableUseractions TRUE/FALSE
DisableUseractionsGlobal TRUE/FALSE

for configged actions, yes i would agree that would be useful, you could then re enable those actions as and when you see fit and would also allow more possibilities for replacing the actions that are run with something scripted