Hello, it's me again.
Regarding the current situation, I have gained more time for my project. For some issues I would appreciate your assistance.
On the one hand I created two items, "an empty and a full bottle". If I fill the empty bottle with water I`d like to receive the item "full bottle". - With what command can I get the "full bottle" brush inserted into this code?
func UseObject_3103( idx )
{
if(ObjGet(idx,O_ID)==111) // empty bottle
{
idx = ObjFind(111);
if(ObjGet(idx,O_STATUS)==0)
{
Message0(5,4,"you fill the bottle with water");
MessagePop();
idx = ObjFind(111);
ObjSetName(idx,"bottle with water");
ObjSet(idx,O_STATUS,1);
ida = ObjFind(3103); // fountain disabled
ObjSet(ida,O_DISABLE,1);
return;
}
else
{
idx = ObjFind(111);
DropObject(idx);
}
}
}
{yolkfolk}:scratch:
Secondly, I created a hilly landscape (moor). Here I want to "walk over" and slowly sink after stopping (after 1 second). I tried "material = cloud" but it only works if I "bounce" and land on the spot. When I walk on it, I sink while I'm running. - Does anyone know how it can be implemented?
Stay well :tup:
Kind Regards
Kalle