setting object rot
#5

Without looking at the rest of your script, its difficult for me to understand why you are using PVars for a function that is dealing with vehicle id's and object id's.

You set PVars with what I assume are rotation values
You create an object
You attach the object to a vehicle, which includes rotation values of 0, 0, 0
You set the rotation of the attached object with the values of the previously defined PVars

Why don't you just put the rotation values in the attach object command?

also, try 0.0, 0.0, 0.0 instead of 0, 0, 0 ( worth a try, sometimes it matters )

[edit] Considering object rotation is included in the Attach command, it is quite possible that you simply can't set the rotation of an attached object. Someone who is more familiar with 0.3c may be able to confirm this
Reply


Messages In This Thread
setting object rot - by armyoftwo - 17.12.2010, 11:05
Re: setting object rot - by armyoftwo - 18.12.2010, 06:48
Re: setting object rot - by [UG]Scripter - 18.12.2010, 06:53
Re: setting object rot - by armyoftwo - 18.12.2010, 06:54
Re: setting object rot - by Rachael - 18.12.2010, 07:39
Re: setting object rot - by armyoftwo - 18.12.2010, 09:22
Re: setting object rot - by armyoftwo - 18.12.2010, 12:41
Re: setting object rot - by armyoftwo - 19.12.2010, 07:24
Re: setting object rot - by Rachael - 19.12.2010, 07:35
Re: setting object rot - by armyoftwo - 19.12.2010, 08:08

Forum Jump:


Users browsing this thread: 1 Guest(s)