Region: Go to another room

Started by barefoot, Wed 25/11/2009 13:53:44

Previous topic - Next topic

barefoot

Hi

ive set up a Region and want to transport my character to another room.

ive just started using the 3.1 version...  obviously its more on scripting then previous issues... Can anyone give me a hint at the script line to go to room 2 after player walks onto region in room 1.

Thanks

Qikfire
I May Not Be Perfect but I Have A Big Heart ..

Gilbert


barefoot

yar

player.ChangeRoom(2, 11, 383);

it'll take a while to get to grips with the scripting, but thats half the fun...

thanks...

Qikfire
I May Not Be Perfect but I Have A Big Heart ..

Khris

I recommend reading through the script section of the manual once. The commands are split in groups, so if you want to do something to, say, an object, the command you have to use will with great probability be something like ObjectName.Command(...); or ObjectName.Property = NewValue;

It takes some time but will get easier down the road.

SMF spam blocked by CleanTalk