Special Names for People
You can have a lot of fun just using the Direct Commands that I described in the last section. Fido has other commands which are either more complicated or especially used in training your dog (see the Training section). For example, there are five â€œspecialâ€ people-names you can use with the movement commands which are especially useful in training:
- owner â€” the dogâ€™s owner
- speaker â€” the person or object that just commanded the dog
- nearest â€” the person closest to the dog
- farthest â€” the farthest person still within sensor range of the dog
- random â€” a randomly selected person or active object near the dog
If you want finer control over how Fido moves, you can use the "moveto" command instead of "go", "run", or "on". You follow the "moveto" command with a name and two numbers. These numbers define the range and speed of the movement of the dog. For example, "fido moveto enrico 3 6" means that Fido will move to within 3 meters of a person, place or thing called â€œenrico" at a speed of 6 meters per second. In fact, the commands "go", "run", and "on" are just instincts that use the "moveto" command. More on that later.
When we use this command, we must add at least three parameters to the command: target, range, and speed. The target is a person, place (mark or vector) or thing. The range is how close we want the dog to come to the target. And the speed is how fast we want the dog to go there. Here is a another example:
fido moveto redball 1.5 7
There is a fourth variation of the "moveto" command mainly for dog accessories designers and professional trainers. Most people will never have a need for it. But, if youâ€™re interested, you can add a fourth numeric parameter called "flags". Here are the basic values "flags" can contain:
1 = Lock onto target (like in heel)
2 = Do not turn toward target
4 = No animation while moving
8 = Move non-physically (llSetPos)
16 = Use position offset (see â€œpositionâ€ command)
32 = Do not avoid obstacles
You can add these values up to get various combinations of behavior. For example, 14 means the dog will move non-physically, without animation, and without turning. I also supported vectors in the first parameter. So for example, letâ€™s say you want to move Fido to a specific point non-physically and without turning or walking. Say:
fido moveto <182,98,23> 0 0 14
First, notice there are no spaces in the vector. You cannot have spaces within the vector or the dog will interpret them as separate parameters. Since you are moving the dog non-physically, you can use zeroes for the range and speed parameters. The fourth parameter is the sum of 2 + 4 + 8, which means no turning, no animation and move non-physically.
Another useful movement command is "tp". This tells your pet to teleport to a person, mark, or active object that you name when you give the command. This command works only within a region, not from one region to the next.
fido tp owner
â€” the pet, if he hears the command, promptly appears by his ownerâ€™s side.
Forward and turn
Fido also has some simple movement commands that are mostly used in training:
You can make Fido turn to any of eight compass points. Use your mini-map as a reference.
- turn n (north)
- turn ne (northeast)
- turn e (east)
- turn se (southeast)
- turn s (south)
- turn sw (southwest)
- turn w (west)
- turn nw (northwest)
In addition, you can have Fido turn 45 degrees to the right or the left, or turn around 180 degrees.
- turn l (45Â° to the left)
- turn r (45Â° to the right)
- turn back (reverse direction)
To have your dog face you, say "turn toward" and to have your dog face away from you, say "turn away".
You can tell Fido to move forward a set distance. Say:
fido fwd 10
Heâ€™ll walk forward 10 meters. You can also make Fido turn relative to his current rotation by saying
fido turn l
fido turn r
With these commands, Fido will turn left or right by 45 degrees.
Additional options for the turn command â€” The pathfinding-enabled dogs have some more options â€” they can turn to face avatars, other dogs, left, right, and angles in degrees!
fido turn enrico
â€” fido turns to face enrico (an avatar)
fido turn rex
â€” fido turns to face rex (another dog)
fido turn left
â€” fido turns 90 degrees left
fido turn right
â€” fido turns 90 degrees right
fido turn 130
â€” fido turns 130 degrees clockwise
fido turn -20
â€” fido turns 20 degrees counter-clockwise
Controlling Position for Heeling
You can also tell Fido to â€œheelâ€ to a different position than on your left side with the command â€œposition". (You may want to do this if you have more than one dog, for instance.)
fido position 270 1
If you want Fido on your right instead, say:
fido position 90 1
If you say,
fido position 0 4
Fido will walk out in front of you.
To restore the original position settings, say:
fido position -1 -1
You can also choose how you want Fido to handle water with the "water" command. One of the following words must follow the "water" command:
If you spend any time near the water, youâ€™ll really enjoy this feature. My favorite is "swim". Letâ€™s say you want Fido to swim behind you while you sail. Give him a command like this:
fido position 180 2
fido water swim
Fido will swim along the surface of the water behind you!
NOTE: Due to the constraints of pathfinding, your pet will not be able to enter the SL water, let alone swim, when he is in pathfinding mode. If you want your pet to enter the water, you must set him to traditional mode first. To set your pet to traditional mode, say:
fido pf off
When your pet is finished playing in the water, return him to pathfinding mode. Say:
fido pf on
All VKC Pets can pick up items and carry things in their mouths. You can use these commands to teach him to play fetch, or get his toy and bring it to you. The commands are:
Use those commands followed by the special item you want Fido to take or drop. For example, say:
fido go redball take redball come drop
Fido will go to the redball, take it in his mouth, come back to you, and drop the redball. If, however, you wanted Fido to continue doing something else, you would have to first tell him to drop the special item he was carrying. For example, say:
fido go redball take redball come drop redball go Enrico sit
The redball and several other free toys are available from the Information Kiosk at any VKC Park. Additionally, you can also find other toys for Fido for sale by various vendors at the VKC Parks.
With the original VKC Dogs, it is perfectly normal for the toy to be in the dogâ€™s mouth when he is standing but to follow along behind the dog as he moves about.
Carrying Your Dog
There are several VKC Pets who will leap into your arms or onto your shoulders so you can TP with them and carry them with you wherever you go. The Chihuahua, the Bichon Frise, the Jack Russell Terrier, the Dachshunds, the Puppies, the Polar Bear Cub, and the Cats currently have this trick. The command for the trick is "here".
Before you can give your VKC Pet the "here" command, you have to give them permission to animate your avatar. So, assuming in this example that Fido is one of the pets that can be held in your arms, you would first say:
A dialog box will appear in your SL window to ask you for permission to animate your avatar. You should give this permission (you can revoke it later). After you click yes, you can then say:
Fido will come running over to you and leap into your arms (or onto your shoulders, if he is a Jack Russell). To place your pet on the ground again, you simply right-click on Fido and select â€œDropâ€ from the menu. He will appear on the ground near you. You also can select â€œDetachâ€ from the menu to place him directly into inventory.
When the dog is picked up, it is necessary to suspend both his active behavior and his body script. Otherwise, he gets in a terrible mess while the avatar is carrying him. When you drop Fido again, he has no easy way of knowing how far he has traveled since you picked him up, so he assumes that he has moved outside of any stay range you may have set or outside the settle parcel. Based on these assumptions, Fido sets his mode to roaming when you drop him. If he didnâ€™t do this, it would cause unexpected and undesirable behavior when he was dropped somewhere outside the settle parcel or stay area.
Similarly, Fido doesnâ€™t have an easy way to tell if he was active or passive before you picked him up, so he goes with active, that being the most likely setting for him to have had previously.
If you do not want your dog to be in active roaming mode when you put him down, be sure to tell him promptly what you want.
If you decide you no longer want your dog to be able to leap into your arms, say:
fido attach no
After this, Fido no longer will perform the â€œhereâ€ trick. You can, of course, say â€œFido attachâ€ again and he will then be able to leap into your arms once more when you give him the â€œhereâ€ command. Remember, the only way to let go of your dog after he is in your arms is to right-click on him and select â€œDropâ€ from the menu. Some parcels do not allow this command, in which case select â€œDetachâ€ from the menu to return your dog to your inventory.
You also can carry the other dogs, if you wish. Many people create a trick that tells the dog to assume a pose
(like "rest", for example) and to attach to a specific attachment point on the avatar. Creating such a trick makes it easy to TP with your dog or to engage in sports such a motorcycling or horseback riding with your dog. Of course, you may just tell your dog what to do without creating a trick by saying something like:
fido down attach 9
This command tells your dog to assume the down pose and then attach himself to your back. You can find a list of poses in the pose chart
and you can find a list of attachment points and their corresponding numbers in the Second Life Wiki