Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Resource getChildAttachmentsAndImages

From Catglobe Wiki
Revision as of 06:53, 2 November 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:Resource_Functions {{HelpFiles}} = Resource_getChildAttachmentsAndImages = Get list of all Attactments and Images of a resource == Syntax == Resource_getChil...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)



Resource_getChildAttachmentsAndImages

Get list of all Attactments and Images of a resource

Syntax

Resource_getChildAttachmentsAndImages (number resourceRId);

Arguments

resourceRId: number. It's resourceId of the resource you want to get Attactments and Images

Return type

Array

Example

number resourceRId= 11088827;
array a = Resource_getChildAttachmentsAndImages(resourceRId);//{Image,Attachment,Attachment,Attachment}
for(number i = 0; i<a.Count; i++)
{
	print(a[i].ResourceId);
}