Actors - VirtualWorlds
#1

Hi, I have 1 interrior and many doors to him, when player enters on interrior server set his virtualworld.
A simple example:
Coordinates: First Doors - Virtualworld = 1
Coordinates: Second Doors - Vritualworld = 2
...
In my interrior I add actor and I have problem, because actor is visible in one virtualworld. Do you have any idea? :/
Reply
#2

try to add SetActorVirtualWorld(actorid, vworld);
Reply
#3

You want actors should be visible in every virtual world or just one?
Plus, do you use dynamic or static actor?
Reply
#4

Quote:
Originally Posted by Oficer
Посмотреть сообщение
Hi, I have 1 interrior and many doors to him, when player enters on interrior server set his virtualworld.
A simple example:
Coordinates: First Doors - Virtualworld = 1
Coordinates: Second Doors - Vritualworld = 2
...
In my interrior I add actor and I have problem, because actor is visible in one virtualworld. Do you have any idea? :/
to dynamic add to creation CreateDynamicActor, "worldid = -1" is for all wirtual words.
Код:
CreateDynamicActor(modelid, Float:x, Float:y, Float:z, Float:r, invulnerable = true, Float:health = 100.0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_ACTOR_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
Reply
#5

worldid -1 dont work for me....
Reply
#6

Quote:
Originally Posted by m4karow
Посмотреть сообщение
worldid -1 dont work for me....
you use streamer CreateDynamicActor?
Reply
#7

yes.........................
Reply
#8

Quote:
Originally Posted by m4karow
Посмотреть сообщение
yes.........................
update plugin
Reply
#9

to what? i have the latest version
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)