Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Axo-Tak

Pages: 1 ... 82 83 84 85 86 [87] 88 89 90 91 92 ... 94
1291
Drama / Re: Hello, I'm new
« on: July 20, 2013, 08:17:31 PM »
epicbat3 has sent me his richard picture before. I haven't viewed it (for obvious reasons) but he claims that it is 7" long and other people have said it's really hot.

1292
Off Topic / Re: How to do the Stretchy Face Thing
« on: July 20, 2013, 04:06:23 AM »


I tried.

1293
Drama / Re: Spencer2015 - Spam and Trolling (Slightly image heavy)
« on: July 19, 2013, 01:53:24 PM »
LegoTween98 the Great! did this also, but I don't think he's Spencer2015.


1294
Probably ThinkInvisible.
Quote
1:06 AM - Axo-Tak: Sometimes I wish I was under-talkative rather than over-talkative.

And I pretty much keep my modding skills and some other things.

1295
General Discussion / Re: Competition: Win a FREE RTB dedicated server
« on: July 19, 2013, 12:18:39 AM »
How about a Space Station 13-like gamemode with a few twists?

1296
Off Topic / Re: How to do the Stretchy Face Thing
« on: July 18, 2013, 11:21:26 PM »

Tezuin's jail rp
Does the white guy have Mr. Wiggles equipped?

1298
Off Topic / Re: How does Blockland like their steak?
« on: July 18, 2013, 02:11:03 AM »
Probably medium.

The red, translucent juice in steak doesn't taste like iron and is translucent (unlike blood). Going by this logic, you could figure that it isn't blood.
inb4 richard pictures
That'd just add work load to the moderators.

1299
Off Topic / Re: Bad/weird stuff you see on deviantArt - Megathread
« on: July 17, 2013, 02:34:21 AM »
I'd be one who (if I had legitimate drawing skills) would keep their special interest artwork in a private location, and not uploaded in public.

Drawing that type of art would probably make me nauseous, though.

1300
NO



Also this thread needs more boys

Androgynous?

1302
Code: [Select]
function BSEHelpNode::setIDsOfChildren( %this )
{
    if( %this.id $= ""  )
        %idHead = "";
    else
        %idHead = %this.id @ ".";
    
    for( %i = 0 ; %i < %this.getCount() ; %i++ )
    {
        %obj = %this.getObject( %i );
        %obj.id = %idHead @ (%i + 1);
        
        if( %obj.getCount() > 0 )
            %obj.setIDsOfChildren();
    }

    return 1;
}

I rewrote the code.

1303
OK I provided the echos.

1304
(hit post on accident, I am still trying to fix this)
Add in some echoes and show us the result.
Code: [Select]
function BSEHelpNode::setIDsOfChildren( %this , %parentID )
{
    echo("<item=" @ %parentID SPC %this.id @ ">");
    if( %parentID !$= "" )
    {
        echo(%parentID SPC %this.id @ ": has a parent");
        %name = %parentID @ ".";
    }
    else
    {
        echo(%parentID SPC %this.id @ ": has no parent");
        %name = "";
    }
    echo(%parentID SPC %this.id @ ": before for" SPC %name);
    for( %j = 0 ; %j < %this.getCount() ; %j++ )
    {
        echo(%parentID SPC %this.id @ ": after for" SPC %name);
        echo(%parentID SPC %this.id @ ": iterator " @ %j + 1 SPC %this.getCount());
        %this.getObject( %j ).id = %name @ (%j + 1);
        %this.getObject( %j ).setIDsOfChildren( %this.id );
    }
    echo("</item=" @ %parentID SPC %this.id @ ">");
    return 1;

Quote from: Console
<item= >
 : has no parent
 : before for
 : after for
 : iterator 1 6
<item= 1>
 1: has no parent
 1: before for
</item= 1>
 : after for
 : iterator 2 6
<item= 2>
 2: has no parent
 2: before for
</item= 2>
 : after for
 : iterator 3 6
<item= 3>
 3: has no parent
 3: before for
 3: after for
 3: iterator 1 2
<item=3 1>
3 1: has a parent
3 1: before for 3.
</item=3 1>
 3: after for
 3: iterator 2 2
<item=3 2>
3 2: has a parent
3 2: before for 3.
</item=3 2>
</item= 3>
 : after for
 : iterator 4 6
<item= 4>
 4: has no parent
 4: before for
 4: after for
 4: iterator 1 1
<item=4 1>
4 1: has a parent
4 1: before for 4.
</item=4 1>
</item= 4>
 : after for
 : iterator 5 6
<item= 5>
 5: has no parent
 5: before for
</item= 5>
 : after for
 : iterator 6 6
<item= 6>
 6: has no parent
 6: before for
</item= 6>
</item= >

1305
Code: [Select]
function BSEHelpNode::setIDsOfChildren( %this , %parentID )
{
    if( %parentID !$= "" )
        %pIDhead = %parentID @ ".";
    else
        %pIDhead = "";

    for( %j = 0 ; %j < %this.getCount() ; %j++ )
    {
        %this.getObject( %j ).id = %pIDhead @ (%j + 1);
        %this.getObject( %j ).setIDsOfChildren( %this.id );
    }
    return 1;
}
It has to be a recursive function so that it can have sections in sections in sections in sections and so on.

%pIDhead stays its value until the for loop. The BSEHelpNodes are ScriptGroups.

Pages: 1 ... 82 83 84 85 86 [87] 88 89 90 91 92 ... 94