object draw distance
#1

how to make all createdynamicobject draw distance 300?
Reply
#2

All functions within the Streamer plugin have adjustable parameters. CreateDynamicObject has:
Quote:

CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_OBJECT_SD, Float:drawdistance = STREAMER_OBJECT_DD, areaid = -1, priority = 0)

Stream distance is how far away the player is before the object is "streamed" in, with draw distance being how close the player needs to actually see it. If you just want to supply a draw distance and nothing else, you can do something such as this:

pawn Код:
CreateDynamicObject(1495, 2350.0438, 3939.484, 1125.02, 0.0, 0.0, 90.0, .drawdistance = 300);
Reply
#3

Quote:
Originally Posted by Abagail
Посмотреть сообщение
All functions within the Streamer plugin have adjustable parameters. CreateDynamicObject has:


Stream distance is how far away the player is before the object is "streamed" in, with draw distance being how close the player needs to actually see it. If you just want to supply a draw distance and nothing else, you can do something such as this:

pawn Код:
CreateDynamicObject(1495, 2350.0438, 3939.484, 1125.02, 0.0, 0.0, 90.0, .drawdistance = 300);
I'm trying :
pawn Код:
CreateDynamicObject(1495, 0, 0, 0, 0.0, 0.0, 0.0, .drawdistance = 600, .streamdistance = 600);
and still some objects in one place are missing. I want them static and standing 300 meters away! not showing only when close...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)