Shit you can do to Mobs

Operators On Functions on previous page

If you’ve got a valid Mob pointer..

All the Text Processing is applied.. Strlen etc

then

.global (NPC ONLY) will check the globals of another mob

(unsure of what this means to be fair, it looks like if its a mob and the mob has a script, it runs thru all the above code… And gives u access to all the same shit of another mob/trig set

.name – mobs name (accessors only not settable unless specified)

.id – the GET_IDNUM

.alias – GET_NAME

.level – primary level

.plevel – pilot level

.hitp – current hitpoints

.maxhitp – max hitpoints

.mana – current mana

.maxmana – max mana

.move – current move

.maxmove – max move

.sethp – Sets current hp to variable

.setmana – sets current mana to variable

.setmove – sets current move to variable

.align – Accessor/mutator for alignment returns value and sets value if given amt

.alignment – Wierd.. Same as above but reduces alignment by amount

.gold – returns value and settable : adds to gold if given amt

.exp returns exp and settable: adds up to 50000000

.pilot_exp – same as above

.duranium – same as exp but 10k cap

.molybdenum – as as dura

.neutronium – same as above

.primary_pracs – returns primary practices and can give up to 5 additional

.secondary_pracs – same as above

.tertiary_pracs – same as above

.exp_total – returns total exp

.pilot_exp_total – returns total pilot exp

.sex – returns gender

.weight – returns weight

.outlaw – returns outlaw level

.ismob – returns 0 if a player, 1 if a mob

.ischarmed – returns 0 if not charmed, 1 if charmed

.inspace – returns 1 if in space or Flying , 0 otherwise

.isimm – returns 1 if Not a mob and Lvl >= 101, 0 otherwise

.canbeseen – Only on Mob triggers.. Returns 0 if cant be seen, 1 if can.. (Not sure if.. Can be seen by who?)

.class – returns name of primary class

.profession – takes string abbreviatable param of Tertiary/secondary.. (so tert/sec works) and returns sec/tert class

.weaponprof – returns an int, that is your current wielded weapon prof level like 100

.weaponstyle – returns string – the name of the type of weapon used – blasters

.race – returns race

.position – returns position type (sleeping/standing/stunned,etc)

.fighting – If Fighting.. Returns the ID of who you’re fighting

.is_killer – takes “on” “off” and returns 1/0 if PLR_KILLER set

.is_thief – as above for PLR_THIEF flag

.riding – If Riding, returns the ID of what you’re riding

.ridden_by – If Ridden_By returns the ID of who is riding you

.speeder – 0/1 if you are riding a speeder

.mount – 0/1 if you have a mount.. (think this ties back to riding, but just true/false if you are **not sure tho)

.vnum – returns the Vnum of the mob

.str – returns strength

.stradd – returns stradd amount

.int – returns int

.wis – returns wis

.dex – returns dex

.con – returns con

.cha – returns cha

.qui – returns quickness

.room – returns the room number you are in (xxx.xxx format)

.skill – give it a skill name, and it’ll return the Percent you’re at.

.eq { THIS IS A MESS ATM will finish but here tis )

– give it a Slot ID or slot name and it will give u a pointer to the object in that slot

WEAR_LIGHT 0

WEAR_FINGER_R 1

WEAR_FINGER_L 2

WEAR_NECK_1 3

WEAR_NECK_2 4

WEAR_BODY 5

WEAR_HEAD 6

WEAR_LEGS 7

WEAR_FEET 8

WEAR_HANDS 9

WEAR_ARMS 10

WEAR_SHIELD 11

WEAR_ABOUT 12

WEAR_WAIST 13

WEAR_WRIST_R 14

WEAR_WRIST_L 15

WEAR_WIELD 16

WEAR_HOLD 17

WEAR_PILOTED 18

WEAR_PATCH_1 19

WEAR_PATCH_2 20

WEAR_RIDE 21

WEAR_HIDDEN 22

(working slot names:

“finger”,

“neck”,

“body”,

“head”,

“legs”,

“feet”,

“hands”,

“arms”,

“shield”,

“about”,

“waist”,

“wrist”,

“patch”,

)

.varexists – Checks for a global var and returns 1 if found.. 0 otherwise

.next_in_room – gives pointer to next in room

.next_char – same as above but for players only

.hisher – returns his or her based on gender

.heshe – returns he or she based on gender

.himher – returns him or her based on gender

.ismember – takes string { “rebel”,”empire”,”jedi”,”techno”,”blacksun”} returns 1 if they are 0 otherwise

.faction_rank – takes string as above, returns faction rank for that faction

.clan – returns clan initials case sensitive for comparison usually

.skill_points – returns Skill Points, and deducts if given int

.quest_points – returns QPs and deducts if given int

.get_quest_status – takes quest number, and returns status

.ismember (AGAIN!?) – returns true/false not 1/0 wtf… Might remove this one

.memory – Players Only, prints out a memory list (i think which mobs have this player

Leave a comment

Your email address will not be published. Required fields are marked *