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 to acquire all tag origins?

broken avatar :(
Created 12 years ago
by jei9363
0 Members and 1 Guest are viewing this topic.
3,404 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
I need to access all the tag_origins in my map to see which ones are accumulating to the G_Spawn error

getEntArray("tag_origin", "model") doesn't work.
broken avatar :(
×
broken avatar :(
Location: gbComing up in the world
Date Registered: 26 November 2013
Last active: 11 years ago
Posts
325
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
I own the hat!
×
DuaLVII's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
DuaLVII's Contact & Social LinksDuaLVIIthomas.gascoigne.7DuaLVIITheProlonger
[Deleted since I was all wrong, Got to stop posting when I'm tired]

Not sure if this will help; http://zeroy.com/script/animation/gettagorigin.htm
Last Edit: March 15, 2014, 11:41:01 pm by DuaLVII
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
not exactly.. I figured out there's a command that lists all entities so Ill just have to see what adding and not deleting entities.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 22 February 2013
Last active: 8 years ago
Posts
186
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Scripter
My Groups
More
Personal Quote
Every map needs a Panzer Soldat
Signature
HexPieRadiBirds Magical Fun Time Water Hole
×
AwesomePieMan's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
AwesomePieMan's Contact & Social Links
not exactly.. I figured out there's a command that lists all entities so Ill just have to see what adding and not deleting entities.
What command lists all of the entities?, this may prove useful to me.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
I need to access all the tag_origins in my map to see which ones are accumulating to the G_Spawn error
When you hit the gspawn error, all 1024 will be listed in the console.
broken avatar :(
×
broken avatar :(
Location: gbComing up in the world
Date Registered: 26 November 2013
Last active: 11 years ago
Posts
325
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
I own the hat!
×
DuaLVII's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
DuaLVII's Contact & Social LinksDuaLVIIthomas.gascoigne.7DuaLVIITheProlonger
not exactly.. I figured out there's a command that lists all entities so Ill just have to see what adding and not deleting entities.

Sorry hah, just woken up and I see what your trying to do now.

Here is a little something I quickly whipped up for you;

Code Snippet
Plaintext
get_tags()
{
script_models = GetEntArray("script_model", "classname");
for(i = 0; i < script_models.size; i++)
{
if(script_models[i].model == "tag_origin")
{
//Do stuff here
}
//wait(0.01);
}
}
Last Edit: March 16, 2014, 09:41:20 am by DuaLVII
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
thanks man I got it working!



Code Snippet
Plaintext
get_tags()
{

wait 1;

players = get_players();

while(1)
{

num_tags = 0;

script_models = GetEntArray("script_model", "classname");
for(i = 0; i < script_models.size; i++)
{
if(script_models[i].model == "tag_origin")
{
num_tags++;
}
}

players[0] iprintln(num_tags);

wait 1;

}
}

now I just need to find the spike and output the targetname and I should be able to identify the problem...
broken avatar :(
×
broken avatar :(
Location: gbComing up in the world
Date Registered: 26 November 2013
Last active: 11 years ago
Posts
325
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
I own the hat!
×
DuaLVII's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
DuaLVII's Contact & Social LinksDuaLVIIthomas.gascoigne.7DuaLVIITheProlonger
thanks man I got it working!

Phew, Glad that worked, Never tested it. Panic over 
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363


does null me "Free Entity" waiting to be used?

and how to I copy from console to clipboard?

Post Merge: March 16, 2014, 04:19:41 pm
also I found my base entities start up into the 900s. So Im deleting unnecessary brushmodels/my fx nodes after the fx is played on them
Last Edit: March 16, 2014, 04:19:41 pm by jei9363
broken avatar :(
×
broken avatar :(
Location: gbComing up in the world
Date Registered: 26 November 2013
Last active: 11 years ago
Posts
325
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
I own the hat!
×
DuaLVII's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
DuaLVII's Contact & Social LinksDuaLVIIthomas.gascoigne.7DuaLVIITheProlonger
hhmm, It's like you have something spawning objects with no other data to them.
Like a spawn function that's blank (if it's even possible).

But could be wrong, never came across this before.

Post Merge: March 16, 2014, 04:25:46 pm
Is that Titanfall in the background? :P
Last Edit: March 16, 2014, 04:25:46 pm by DuaLVII
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
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.
I would guess that the null entries are deleted/free'd objects, yes. Haven't used this method before though so I couldn't really say for sure.

 
Loading ...