UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

How work getEntArray() ?

broken avatar :(
Created 10 years ago
by Hagrud
0 Members and 1 Guest are viewing this topic.
2,647 views
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 17 August 2016
Last active: 7 years ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
Hagrud's Groups
Hagrud's Contact & Social Links
Hi, I had some issue when I use getEntArray( value, key ) it doesn't work for all the key.

For example : getEntArray("machine", "script_noteworthy") will return an array.
But getEntArray("zombie_wolf", "model") will not even if I have those kind of entity in my map.

Did I miss something ?
broken avatar :(
×
broken avatar :(
Location: it
Date Registered: 18 August 2015
Last active: 6 years ago
Posts
78
Respect
Forum Rank
Rotting Walker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
Call me jjakob and not jakob9696 ;)
Signature
If you find errors in my post, excuse me for my bad english... I'm italian...

Developing custom banana colada script: https://youtu.be/OW_bIbCnXzo
Developing Gobblegums script: https://youtu.be/cWGzQ1dkTAE
×
jakob9696's Groups
jakob9696's Contact & Social Linksjjakobjjakob9696
i think getEntArray() can only get entities with these kvps:
script_noteworthy,  targetname.
but maybe I'm wrong  :-\
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 17 August 2016
Last active: 7 years ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
Hagrud's Groups
Hagrud's Contact & Social Links
Ok, so I can't use custom key.
If someone have the list of useable key.

Thank for all.
broken avatar :(
×
broken avatar :(
[UGX] Developer
Location: nlLimburg, Netherlands
Date Registered: 28 October 2013
Last active: 2 years ago
Posts
764
Respect
Forum Rank
The Decider
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
[UGX] Developer
×
Lukkie1998's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Mapper Has released one or more maps to the UGX-Mods community.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
2015 Participant
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
just select every model with model "zombie_wolf" , press N and give them all the same targetname. Then use getEntArray(<targetname given> , "targetname");

Lukkie1998
broken avatar :(
×
broken avatar :(
Location: fi
Date Registered: 25 June 2013
Last active: 2 years ago
Posts
3,997
Respect
Forum Rank
Eviscerator
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
×
HitmanVere's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Has released one or more maps to the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
If you need to select specific models with certain model set and you have targetname/script_noteworthy in use, you can do if(self.model == "zombie_wolf")

 
Loading ...