Posted: Tue May 13, 2008 2:46 am Post subject: More a question
Would it be possible to script a walkon script to......make a character to where they view everything in the world as if they were dead. And could not be seen by living characters nor could see living characters. Yet they could fight with all thier weapons with creatures specifically made for this dead realm. Also those dead creatures could not see living or attack them and could not be seen by living?
Author
Message
*Edwards
Joined: 29 Dec 2007 Posts: 85 Location: Montreal, Canada
Posted: Wed May 14, 2008 5:49 pm Post subject:
I would say yes.
Change your graphic to 402 (male) or 403 (female).
But you might not be able to make it work correctly while mounted.
And you should receive a "you cannot use this item while dead" simply because the core recognize you like mobile.dead == 1
You could modify the whole thing into the scripts themselves by adding the following stuff to your checks if someone is dead.
Code:
if( mobile.dead )
foreach item in ListEquippedItem( mobile )
if( item.objtype == (objtype of deathshroud )
SendSysMessage( mobile, "You cannot use that while dead!";
return 0;
endif
endforeach
endif
*Objtype of a deathshroud has not been found or created yet for me. I cannot tell you the exact number for it.
But now, I'm wondering if there is core function that has to be modified :\
lol.. tek?
Author
Message
CWO
Joined: 04 Feb 2006 Posts: 698 Location: Chicago, IL USA
Posted: Sat May 17, 2008 3:38 am Post subject:
From just looking at InsideUO, a death shroud graphic is 8270 (0x204E).
I think that could be done using two realms. One for the living people and creatures, and another for the dead. When players walk on the tile you mentioned, it'd move them to the latter realm, and when they are about to return to the "real" world, another script would send them back.
To the realms to be exactly the same itemwise you'd have to duplicate not only the statics, but also at least multis built, and if you see it worth the effort, also items placed on the ground. This information should then be refreshed and updated for things to sync.