View Issue Details

IDProjectCategoryView StatusLast Update
0008350Multi Theft Auto : San AndreasScriptingpublic2015-08-17 12:12
Reportereeew2Assigned Tosbx320 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target Version1.5.1Fixed in Version1.5.1 
Summary0008350: Object moved with moveObject can move frozen player
Description

When an object is moved with moveObject, it moves the players standing on it, even if the players were frozen with setElementFrozen

This might work with peds too, i didn't check.

Steps To Reproduce

crun o = createObject(1697, 1544, -1353, 329.5, 31.8, 0, 0)
crun setElementPosition(localPlayer, 1543.793, -1353.089, 330.6)
crun setElementFrozen(localPlayer, true)
crun moveObject(o, 5000, 1544, -1363, 329.5)

Additional Information

Multi Theft Auto v1.4-release-6651

TagsNo tags attached.

Relationships

related to 0008351 resolvedsbx320 Source patches Patch for #8350 (Object moved with moveObject can move frozen player) 

Activities

Woovie

2014-07-09 22:45

manager   ~~0021297

My impression of setElementFrozen is that it couldn't be moved by its own means, but other environment factors could control it.

eeew2

2014-07-09 23:47

viewer   ~~0021300

setElementFrozen freezes the position and the rotation (not for peds/players) of an element.
Nothing environmental can change the position of a frozen element, it cannot be pushed around, frozen players cannot be carried on top of vehicles.

Object moving uses the CDeathmatchObject::SetOrientation method (this bug occures also with setElementPosition), which updates all contacting ped's position too (see CDeathmatchObject::UpdateContacting)

sbx320

2015-08-13 17:27

administrator   ~~0023919

Fixed in https://github.com/multitheftauto/mtasa-blue/commit/9e4b665c0946ad0a4971dfb839e74c8c2f9a075f

Issue History

Date Modified Username Field Change