Removing all objects from a certain world.
#2

You can use streamer set functions.

PHP код:
native Streamer_SetFloatData(typeSTREAMER_ALL_TAGS iddataFloat:value);
native Streamer_SetIntData(typeSTREAMER_ALL_TAGS iddatavalue);
native Streamer_SetArrayData(typeSTREAMER_ALL_TAGS iddata, const src[], maxsrc sizeof src); 
type would be
PHP код:
#define STREAMER_TYPE_OBJECT (0) 
id would be object id and data would be E_STREAMER_WORLD_ID

also for loop length you can sue CountDynamicObjects function.

hope that helped : p.
Reply


Messages In This Thread
Removing all objects from a certain world. - by iLearner - 22.07.2017, 09:27
Re: Removing all objects from a certain world. - by jlalt - 22.07.2017, 09:49
Re: Removing all objects from a certain world. - by Vince - 22.07.2017, 10:06
Re: Removing all objects from a certain world. - by iLearner - 22.07.2017, 10:33
Re: Removing all objects from a certain world. - by jlalt - 22.07.2017, 10:49
Re: Removing all objects from a certain world. - by iLearner - 22.07.2017, 10:54
Re: Removing all objects from a certain world. - by jlalt - 22.07.2017, 10:58
Re: Removing all objects from a certain world. - by Vince - 22.07.2017, 11:17
Re: Removing all objects from a certain world. - by iLearner - 22.07.2017, 11:21
Re: Removing all objects from a certain world. - by NaS - 22.07.2017, 12:52

Forum Jump:


Users browsing this thread: 1 Guest(s)