Page MenuHomeFeedback Tracker

Some objects don't react correctly to scripts
Closed, ResolvedPublic

Description

Some objects (mostly weapon projectiles) don't react as they should to setVelocity, setVectorDirAndUp etc.

For example the M_Mo_82mm_AT.

Details

Legacy ID
1970156011
Severity
None
Resolution
Open
Reproducibility
Always
Category
Editor
Steps To Reproduce

Create a script like this.

_projectile = "M_Mo_82mm_AT" createVehicle [(getPos player) select 0,(getPos player) select 1,((getPos player) select 2) + 100];

_projectile setVelocity[0,0,0]; weird result
_projectile setVectorDirAndUp [[1, 0.5, 1],[0, 1, 0.5]];
no effect

Additional Information

I want to create explosions(with visible dropping projectiles) without using artillery (because I don't have a place to put the artillery units).

to see if setVectorDirAndUp has an effect, add the following:
_projectile enableSimulation false;

Event Timeline

Ed edited Steps To Reproduce. (Show Details)Jun 27 2013, 5:44 PM
Ed edited Additional Information. (Show Details)
Ed set Category to Editor.
Ed set Reproducibility to Always.
Ed set Severity to None.
Ed set Resolution to Open.
Ed set Legacy ID to 1970156011.May 7 2016, 3:02 PM

this is still happening, can't get setvectordirandup to work on a created backpack dev or stable.

Please refer to this tutorial on how to correctly use setvectordirandup http://killzonekid.com/arma-scripting-tutorials-attachto-and-setvectordirandup/

MadDogX added a subscriber: MadDogX.May 7 2016, 3:02 PM

Mass closing ancient tickets with no activity for > 12 months; assume fixed or too trivial.

If this issue is still relevant in current dev build, please re-post.