• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] I have a question
#1
Dear community,

i think the question is clear. I want to set my 'spawn-ojects' to a virtual world so that you just see the objects when you select your skin.


Thanks!
  Reply
#2
In order to attach an object to a specific virtual world; you need to use an object streamer plugin.
The most familiar one is called "Incognitos Streamer Plugin"

Then when you create an object, you can set the virtual world you want it to render at by setting it in the CreateDynamicObject call;

PHP Code:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance STREAMER_OBJECT_SDFloat:drawdistance STREAMER_OBJECT_DDareaid = -1priority 0

By setting worldid to something else than -1. -1 means "all worlds", and a value 0 --> will link it to that worldid only.
  Reply


Forum Jump: