Blockland Forums > General Discussion

Shark Holes - Cool Shark?

Pages: << < (4/5) > >>

Swollow:


--- Code: ---function delaySharkCheck(%obj)
{
if(isObject(%obj))
{
%obj.setNodeColor("helmet","0.2 0.2 0.2 1");
%obj.setNodeColor("visor", "0.2 0.2 0.2 1");
%obj.unHideNode(helmet);
%obj.unHideNode(visor);
%obj.name = "Cool Shark";

%obj.hat =  "1";
%obj.accent =  "1";
}
}
--- End code ---

just remove the random part like so

Cuddles le Bear:


--- Quote from: swollow on March 15, 2013, 09:16:57 PM ---just remove the random part like so

--- End quote ---
The Lord Tony gave us an easier way;

--- Quote from: Thé Lord Tony on March 15, 2013, 09:11:51 PM ---Or just set the regular shark name to Cool Shark on bot spawn set name.

--- End quote ---


Chrono:


--- Quote from: swollow on March 15, 2013, 09:16:57 PM ---
just remove the random part like so

--- End quote ---
Or don't.


--- Code: ---(!getRandom(0,50) || %obj.name $= "Cool Shark")
--- End code ---

|| is or.

If it's 0 in a number between 0 and 50 (yes, this means it's 1 in 51 odds), OR, if you just name it Cool Shark.

Plexious:

http://www.youtube.com/watch?v=zlF0cpiAMmo

The Brighter Dark:


--- Quote from: Plexious on March 16, 2013, 02:15:54 AM ---http://www.youtube.com/watch?v=zlF0cpiAMmo

--- End quote ---
Nice

Pages: << < (4/5) > >>

Go to full version