House control & walkon scripts

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 098.

Moderator: POL Developer

Post Reply
Neophyte Poster
Posts: 30
Joined: Wed Jul 23, 2008 8:03 am

House control & walkon scripts

Post by Targun » Sun May 17, 2009 1:46 am

itemdesc.cfg documentation:

Code: Select all

House (objtype)
    {everything Item can have, plus: }
    MultiID         (int multiID number for this house)
So I assumed house can have walkon and control scripts.
I've defined a house :

Code: Select all

House 0x6dfc
    Name					drewniany dom na palach
	 Graphic				0x5dfc
    MultiID				0x1dfc
	 ControlScript		:housing:houseControl
	 WalkOnScript		:housing:walkOn
 	 Deed					0x7dfc
I wrote both scripts:

Code: Select all

program house_walkOn(house, who)
	print("HOUSE WALK ON ";

program houseControl(house)
		print("House :"+house.objtype);
And nothing happens :/
Am I doin' something wrong, or houses just cannot have control nor walkon scripts?

methodscript for houses seems not to work either

POL Developer
Posts: 477
Joined: Tue Feb 21, 2006 5:08 pm

Re: House control & walkon scripts

Post by Tomi » Sun May 17, 2009 4:21 am

The multis themselves dont have walkon or control scripts.

The Housing are controlled in UO normally like this:

Controlscripts are in the sign.
Walkonscripts are on separately created bantiles.

Post Reply