Adding a cprop to newly created characters?
Adding a cprop to newly created characters?
I cannot find the script where characters are created. I want to add a prop to newly created chars. In which script do I do that?
pol/scripts/misc/oncreate.ecl is run after a character has been created and becomes accessible by script.
Example:
Example:
Code: Select all
use uo;
program onCreate(character)
SetObjProperty(character, "Birthday", polcore().systime);
return 1;
endprogram