HideMapObject doesn't hide one object (mc_fence1)

Started by rww, Jul 26, 2015, 11:40 PM

Previous topic - Next topic

rww

HideMapObject doesn't hide one object....

HideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);



In game effect (two objects in the same position):



And screen from 3ds max (new object).


Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

MatheuS

Try

RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
 CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);
if( !sucess ) tryAgain();
Thanks to the VCMP community. It was the happiest period of my life.

rww

Quote from: MatheuS on Jul 26, 2015, 11:58 PMTry

RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
 CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);

RawHideMapObject - In Position, you can't use float, olny integear. I replace to integear but the same effect (2 objects).
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

maxorator

Quote from: rwwpl on Jul 27, 2015, 12:05 AM
Quote from: MatheuS on Jul 26, 2015, 11:58 PMTry

RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
 CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);

RawHideMapObject - In Position, you can't use float, olny integear. I replace to integear but the same effect (2 objects).
Multiply by 10 and round to nearest value if you're using RawHideMapObject:
RawHideMapObject(1085, -17116, -2039, 159);

rww

Quote from: maxorator on Jul 27, 2015, 12:38 AM
Quote from: rwwpl on Jul 27, 2015, 12:05 AM
Quote from: MatheuS on Jul 26, 2015, 11:58 PMTry

RawHideMapObject(1085,-1711.57,-203.86,15.8551); //mc_fence1
 CreateObject(6001,0,Vector(-1711.58,-203.85,15.855),255);

RawHideMapObject - In Position, you can't use float, olny integear. I replace to integear but the same effect (2 objects).
Multiply by 10 and round to nearest value if you're using RawHideMapObject:
RawHideMapObject(1085, -17116, -2039, 159);

The same effect (2 objects).
For other objects, function HideMapObject works, but i don't know, why for that object doesn't work.
Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

MacTavish

These functions also cant hide mansion bridges

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

KAKAN

That does mean its a bug tho, maxorator should fix it
oh no

Sebastian

I reported this too, in 2014.
Some objects just cannot be hidden... there are many examples.

rww

Join to Irrelevant Club Discord: https://discord.gg/MsPPZ5uV4X

Klaus


KAKAN

I can't hide some objects near mansion too :(
oh no