if somebody is just browsing around and want me help with some scripts I need, I would be grateful
1. Need define axe object, which will have bonus + attack and +str when used by minotaur and -STR when used by any other race
2. SOLVED - need script button on the wall, which could be pushed by any projectile (arrow, rock...)
3. SOLVED - I already used this script to prevent sleeping on dungeon level 4
Code: Select all
cloneObject{
name = "party",
baseObject = "party",
onRest = function(party)
if ( party.level == 4 ) then
return false;
end
end,
onWakeUp = function(party)
end,
}cloneObject{
name = "party2",
baseObject = "party",
onRest = function(party2)
if ( party.level == 3 ) then
return false;
end
end,
onWakeUp = function(party2)
end,
}
