Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Files
»
Add-Ons
»
Event: SetAIShapeName
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Event: SetAIShapeName (Read 6561 times)
Darksaber2213
December 05, 2014, 12:58:42 AM
Set AI Shapename
A mod that lets you add a name shapename onto bots.
*
Feild Descriptions
Text Feild: [Name to apply to bot.]
Color Swatch: [Name Color (uses current colorset).]
Download:
https://dl.dropboxusercontent.com/s/2w1ope7d9u8b9gi/Event_SetAIShapeName.zip
*
Not actually a real shapename, tis a staticshape.
«
Last Edit: January 13, 2015, 01:22:16 AM by Darksaber2213
»
Ad Bot
Advertisement
Torin0101
December 05, 2014, 01:02:35 AM
oh sweet, thanks. This will be SO useful!
Crispy_
December 05, 2014, 01:02:53 AM
This is great for some of the more important bots.
jes00
December 05, 2014, 06:47:05 AM
Code:
[Select]
if(isObject(%tag))
{
%tag.delete();
}
This will always be false FYI. It's because
%tag
is an undefined variable so it'd be the same thing as doing
if(isObject(""))
. If it was me, I would have put the tag as a variable on the AI Player.
EcstaticEggplant
December 05, 2014, 11:08:04 AM
Keep pumping out these addons mang
Bolt the thunderhog
December 05, 2014, 03:23:40 PM
Holy forget yes.
elm
December 05, 2014, 06:37:51 PM
You may want to fix that schedule in your code. Maybe use something like this just for good measures:
if(!isEventPending(%this.setFakeShapeNameLoop))
%this.setFakeShapeNameLoop = schedule(1,0,setFakeShapeName,%this, %tag);
Cool Add-on, good job.
Freek
December 05, 2014, 08:23:25 PM
damn darksaber, these add-ons are kickass
Juliun03
December 05, 2014, 08:31:03 PM
Now you can make perfect clones of players! Awesome.
the_stitch
December 06, 2014, 01:30:44 PM
I don't wanna be a downer, but isn't this code banned?
jes00
December 06, 2014, 01:35:47 PM
Quote from: the_stitch on December 06, 2014, 01:30:44 PM
I don't wanna be a downer, but isn't this code banned?
No. He's actually setting the shape name of a static shape. Not a player or AI Player.
murder burger
December 06, 2014, 01:39:37 PM
Look now you name things!!!
Couatl
December 06, 2014, 01:46:50 PM
sweet
A_TEE
December 06, 2014, 03:59:08 PM
You have made blockland 10x better
-Setro-
December 09, 2014, 02:59:27 PM
why name it setAIshapename instead of setbotshapename
Print
Pages: [
1
]
2
« previous
next »
Blockland Forums
»
Blockland Files
»
Add-Ons
»
Event: SetAIShapeName