Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
sajon wrote:for i=1,10 do allPlates.floortrigger:enable(true)
for i=1,10 do findEntity(allPlates).floortrigger:enable()
AllPlates stores the names as strings, not objects ~as it should be, but you have to then use findEntity() to get the object with the name.
Thanks
Isaac
I thought that it was because the array was strings, not object, but i could not figure out how to convert it. I knew when you put quotes around something it usually means it is an string. then i removed the quotes and it kept giving me table values.
Hi all. I have looked through the reference and I cannot find how to remove a skill from a champ? You can remove items, conditions and traits, but not sure if you can remove trait. Anyone know how to do this thxs
In the second game, objects now have sub-components. calls are now [often] object.component:function().
Even scripts on the game map contain script components, that contain their code and functions.
Is there a simple way to make an object or several spawn on the same tile as the party when an (here unspecified) event occurs? Where defining the location of the party is not necessary?
BuzzJ wrote:Is there a simple way to make an object or several spawn on the same tile as the party when an (here unspecified) event occurs? Where defining the location of the party is not necessary?