generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
We use cookies to offer you a better experience. By using Roblox.com, you are agreeing to our Privacy and Cookie Policy.
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Custom Status For a NPC (Non-Player-Character)?

Previous Thread :: Next Thread 
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
27 Jan 2012 12:59 PM
How can I get the 'AddCustomStatus' to work for a NPC's humanoid?

What are the requirements for it to work?
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
27 Jan 2012 12:59 PM
I don't even know what the Statuses in Humanoids are used for. It should work though, just use the method on the NPC Humanoid, right?
Report Abuse
yoyoman2 is not online. yoyoman2
Joined: 07 Mar 2009
Total Posts: 2170
27 Jan 2012 01:01 PM
if you put a huminoid in it, it will have the property
Report Abuse
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
27 Jan 2012 01:06 PM
Does not seem to work at all.
I just get nothing from it; no custom status added, and no error or exception error in the output...
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
27 Jan 2012 01:07 PM
Can we see the code?
Report Abuse
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
27 Jan 2012 01:10 PM
This is the test script I used to add the status:
script.Parent:AddCustomStatus("Dance")
print("Done; 'Dance' has been added")


Its not much, but its for a robot for a future project, it will correspond to a feature that I added into a animation script to activate a animation (it does not get removed from any script yet).
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
27 Jan 2012 01:17 PM
Hmm. Don't see any errors. Sorry, I have no idea.
Report Abuse
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
27 Jan 2012 01:23 PM
Do you have a copy of the method's code so I can look at a possible solution?
I really do not like this method of problem solving, but it works...
Report Abuse
epicfail22 is not online. epicfail22
Joined: 25 Sep 2009
Total Posts: 3739
27 Jan 2012 01:28 PM
Here's the wiki page:

http://wiki.roblox.com/index.php/AddCustomStatus_%28Method%29"
Report Abuse
cjcool12345 is not online. cjcool12345
Joined: 28 Jan 2010
Total Posts: 606
27 Jan 2012 01:33 PM
That only tells me how to use it, but it does not say any requirements for it.

Any idea of ware I could find the internal components for it?
Does the method use any core script or other method?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image