• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] SetObjectMaterial() weird
#1
okay, I use this:?



Code:
new objectid = CreateObject(3174, 1345.0, -1400.0, 14.0, 0.0, 0.0, 0.0, 150.0);

SetObjectMaterial(objectid, 0, -1, "none", "none", 0xFFFFFFFF);



This line does almost nothing, it only removes vertex lightning. That's all. The problem is... draw distance suffers!!! I mean my object disappears quickly and abruptly at distance 150.0. First of all... no nice transitions, it disappears fast?and looks horrible.?Second of all... my personal draw distance settings are disregarded now.



Is it some undocumented?SetObjectMaterial flaw that cannot be fixed? How do I use?SetObjectMaterial without fucking up draw distance of my objects?
  Reply


Messages In This Thread
SetObjectMaterial() weird - by gokuta - 2021-03-09, 10:31 AM
RE: SetObjectMaterial() weird - by Virsenas - 2021-03-09, 11:13 AM
RE: SetObjectMaterial() weird - by gokuta - 2021-03-09, 11:36 AM
RE: SetObjectMaterial() weird - by Virsenas - 2021-03-09, 01:46 PM
RE: SetObjectMaterial() weird - by gokuta - 2021-03-09, 02:08 PM
RE: SetObjectMaterial() weird - by Y_Less - 2021-03-10, 02:05 AM
RE: SetObjectMaterial() weird - by Virsenas - 2021-03-10, 07:51 AM
RE: SetObjectMaterial() weird - by gokuta - 2021-03-10, 10:37 PM
RE: SetObjectMaterial() weird - by Y_Less - 2021-03-11, 11:15 PM

Forum Jump: