User Tools

Site Tools


cerea2:players:animations_other

Other actions

In addition to the animations you can do some other things like: “facing”, “equip”, “unequip”, “open”, “close”, “lock”, “unlock”, “sound”, “pause”, “speak”, “voice”, “#” (comment), “roll”, “skill”, “ability”, “repeat”, “sit”.

They are shortly described below.

Facing

facing,duration,direction

Changes the facing of the PC towards given direction (absolute, or relative if using +- sign in front of number). If using direction as “@+5” then use the facing at the time when this command is run, not from the current facing.

Equip

equip,tag,slot

Equip item with given tag at given slot. You need to find out the tag of the item to be able to use this.

Unequip

unequip,slot

Unequip item from given slot.

open

open,tag-of-door,max-distance

Opens door. The tag-of-door can be “*” in case it takes closest door. Max-distance can be left out, so this is normally written as “open,*”.

close

close,tag-of-door,max-distance

See open.

lock

lock,tag-of-door,max-distance

See open.

unlock

unlock,tag-of-door,max-distance

See unlock.

sound

sound,sound-file-name

Sound file name is the sound file name from the data/sounds.zip without .wav extension.

pause

pause,duration

Pauses the animation for given duration.

speak

speak,text to speak,volume

Speaks the given text at given volume. Default is 0, talk, 1 = whisper, 2 = shout, 3 = silent talk, and 4 = silent shout (dm shout).

voice

voice,voice-number

Plays voice chat of given number.

roll

roll,dice

Rolls a dice. Dice can be like 1d6, or any kind of dice specifier.

skill

skill,skill-name

Does skill check roll. Skill names are: Appraise, Bluff, Concentration, Craft Alchemy, Craft Armor, Craft Trap, Craft Weapon, Diplomacy, Disable Device, Discipline, Heal, Hide, Intimidate, Listen, Lore, Move Silently, Open Lock, Parry, Perform, Ride, Search, Set Trap, Sleight Of Hand, Spellcraft, Spot, Survival, Taunt, Tumble, and Use Magic Device.

ability

ability,ability-name

Does ability check. Ability names are: str, dex, con, int, wis, cha, fortitude, reflex, and will.

repeat

repeat,wait,count

Repeat the whole action string from the beginning count times (or forever if no count given). Wait is the duration between repeats. This is good for things like sit or other looping animations, as they are not shown to others unless they are repeated every now and then. I.e. use like “sit;repeat” will search chair, and repeate sitting animation on it every 30 seconds.

sit

sit,wait,radius

Searches chair inside the given radius (or 10 meters, if not given) and sits there. It will sit there for given time (or 30 seconds if nothing given).

cerea2/players/animations_other.txt · Last modified: 2015/05/03 12:29 by 127.0.0.1