[Plugin] Nickname, [Behavior] Nickname

Post your completed addons to share with the community

Post » Sat Mar 01, 2014 5:26 am

Great plugin and behavior Rexrainbow! Thanks for all of your excellent work.

I'm writing this quick note to save others some grief. I spent a couple of hours struggling with the SID mode of the nickname behavior before I realized that all nicknames must be passed as strings, even in SID mode (where the variable returned is a number). So, to call the SID properly, you need to wrap Family.Nickname.Nickname in a str() function or it won't work. Of course, once I realized this, I checked the API and of course discovered that Nickname is listed as a string.

Live and learn.
B
12
S
5
G
5
Posts: 26
Reputation: 4,001

Post » Sat Mar 01, 2014 5:54 am

@joeykid6

SID mode is just a lazy mode that user has a lot of object-types and does not care the real nickname of each object-type.
For example , create the same type of instance at somewhere when touching object.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Wed Apr 02, 2014 10:05 pm

Just wanted to say this is the most amazing plugin ever! Thx rex!
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sun Jun 29, 2014 11:25 pm

Does this still work for the latest version? I get an error

"Unable to load behavior in rex_nickname: Found 'GetBehaviorSettings' global, but it is not a function

This behavior will not be available in the editor
B
5
Posts: 10
Reputation: 250

Post » Mon Jun 30, 2014 12:30 am

Rex_nickname is a plugin, rex_bnickname is a behavior , you might put them into wrong folder.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Mon Jun 30, 2014 2:02 pm

That was it! Sorry for some reason I thought this was a behavior.
B
5
Posts: 10
Reputation: 250

Post » Tue Jul 08, 2014 7:23 pm

Thanks for creating these great addons! :)

I have a question. Is it possible to get the UID of the instance created with Action:Nickname-Create instance?

Nickname_UID.png

Thanks!
You do not have the required permissions to view the files attached to this post.
B
8
S
1
Posts: 55
Reputation: 466

Post » Wed Jul 09, 2014 2:51 am

@TrickyWidget

"Action:Create instance into family" is another way to create instance, and it will put the created instance into SOL of this family.

Then you could get uid by expression family.UID.
B
97
S
22
G
178
Posts: 4,119
Reputation: 104,045

Post » Wed Jul 09, 2014 11:27 am

rexrainbow wrote:"Action:Create instance into family" is another way to create instance, and it will put the created instance into SOL of this family.

Thank you for the feedback!

I just realized that I somehow overlooked the condition in the plugin that does exactly what I need:

Nickname_UID_Solution.png

Thanks again! Your addons are going to be a real boon to my projects. :)
You do not have the required permissions to view the files attached to this post.
B
8
S
1
Posts: 55
Reputation: 466

Post » Wed Jul 09, 2014 6:31 pm

I created a video on how to make a quick "editor" type interface.

https://www.youtube.com/watch?v=KiEWosU ... e=youtu.be
You do not have the required permissions to view the files attached to this post.
B
5
Posts: 10
Reputation: 250

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 3 guests