Maps gm
#4

You can use this function to set all created dynamic objects to specific world id, but i wouldn't suggest this method, you can use "Find and Replace" in your script editor instead.
Code:
MoveAllDynamicObjectsToVW(vwid)
{
	for(new i, j = CountDynamicObjects(); i < j; i++)
		if(IsValidDynamicObject(i))
			Streamer_SetIntData(STREAMER_TYPE_OBJECT, i, E_STREAMER_WORLD_ID, vwid);
}
Note: It doesn't work with static objects.
Reply


Messages In This Thread
Maps gm - by BrianFaria - 07.02.2017, 09:36
Re: Maps gm - by kloning1 - 07.02.2017, 09:41
Re: Maps gm - by BrianFaria - 07.02.2017, 09:45
Re: Maps gm - by X337 - 07.02.2017, 09:59
Re: Maps gm - by BrianFaria - 07.02.2017, 10:03
Re: Maps gm - by princejeet1510 - 07.02.2017, 12:02
Re: Maps gm - by BrianFaria - 07.02.2017, 17:49

Forum Jump:


Users browsing this thread: 2 Guest(s)