Object 3892

Mob Progs Manual: GIVE_PROG

An example of a GIVE_PROG

1) Type: GIVE_PROG
2) Args: long sword
3) Commands:

The GIVE_PROG triggers when an object named within ARGS is
given.  So in this case, if a person/creature gave the mob
long sword, this trigger would be excuted.  It is not case
sensitive, but, the thing given MUST MATCH what it is written
in ARGS.  Also, in ARGS you could have 'all' which literally
means that anything given to the mob, will trigger this
GIVE_PROG and execute the commands.

If you don't know what ARGS are, read args.

Extra Descriptions: manual mob progs C1 create type IN_FILE_PROG ACT_PROG BRIBE_PROG ENTRY_PROG GIVE_PROG GREET_PROG ALL_GREET_PROG FIGHT_PROG HITPERCENT_PROG HITPRCNT_PROG DEATH_PROG RAND_PROG SPEECH_PROG ARGS commands destroy C2 C3 Variables C4 Reference mobcommands
Back to the Main Builder Resources Page
© World of Pain, All rights reserved.