When I did that it gave me an error "attempting to index 'c' (a boolean value)" or something like that
Search found 166 matches
- Fri Dec 28, 2018 2:24 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3734
- Views: 1347833
Re: Ask a simple question, get a simple answer
- Thu Dec 27, 2018 6:10 am
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3734
- Views: 1347833
Re: Ask a simple question, get a simple answer
Overwrite defineObject with your own version that adds the hook, like this: local orig_defineObject = defineObject local onEquipItemHook = function(self, champion, slot) print("asdfasdf") end defineObject = function(def) if def.components then for _,c in pairs(def.components) do if c.class == "Equi...
- Wed Dec 26, 2018 7:36 pm
- Forum: Mod Creation
- Topic: Ask a simple question, get a simple answer
- Replies: 3734
- Views: 1347833
Re: Ask a simple question, get a simple answer
Is it possible to add a certain hook to every item? For example, adding onEquipItem to every armor at once, instead of having to redefine every single Armor item and adding onEquipItem to each one
- Fri Dec 21, 2018 8:32 pm
- Forum: Mod Creation
- Topic: List of Weapons & Armor
- Replies: 46
- Views: 45234
Re: List of Weapons & Armor
I put this on a google spreadsheet just to help preserve it, dropbox is not as reliable as it used to be
https://docs.google.com/spreadsheets/d/ ... sp=sharing
https://docs.google.com/spreadsheets/d/ ... sp=sharing
- Sat Oct 25, 2014 7:37 am
- Forum: Grimrock 2 Discussion
- Topic: What do you spend your skill tomes on?
- Replies: 5
- Views: 2731
Re: What do you spend your skill tomes on?
I give them to my guy that needs the most skills
Like, my wizard only needs fire magic, some air magic and concentration, so he's fine
But my heavy weapons barbarian needs armor, accuracy, crit, health and well, heavy weapons
Like, my wizard only needs fire magic, some air magic and concentration, so he's fine
But my heavy weapons barbarian needs armor, accuracy, crit, health and well, heavy weapons
- Fri Oct 24, 2014 5:34 pm
- Forum: Mod Creation
- Topic: Command Line
- Replies: 4
- Views: 2355
Re: Command Line
Since the editor uses the game engine for a fast preview, it makes sense that you load the game first. Besides, what's the problem with it?
- Fri Oct 24, 2014 5:32 pm
- Forum: Support and Tech Discussion
- Topic: Water Rendering Issue
- Replies: 3
- Views: 2215
Re: Water Rendering Issue
The ocean also looks weird in the small preview
- Fri Oct 24, 2014 5:27 pm
- Forum: Gameplay Hints
- Topic: My party is hurt!
- Replies: 3
- Views: 2344
Re: My party is hurt!
I have terrible news... he won't make it
...to the next crystal, where you can heal
Healing potions (the red one) also works
...to the next crystal, where you can heal
Healing potions (the red one) also works
- Fri Oct 24, 2014 9:16 am
- Forum: Gameplay Hints
- Topic: Sewer Question.
- Replies: 4
- Views: 2552
Re: Sewer Question.
For the first one here's a tip: you can keep your mouse in the center of the screen at all times
Second: explore the water
Second: explore the water
- Fri Oct 24, 2014 9:12 am
- Forum: Gameplay Hints
- Topic: Help for "Sewels"
- Replies: 12
- Views: 5762
Re: Help for "Sewels"
Thanks for answer itsmemario , but: 1) I have this "Tetris like" Map but I don't know what to do with and how to use it ? 2) arghhh...! I have to defeat this "Rat" Monster to get the Key of the entrance of Resevoir Acess ?!! is-it the only way ? I tried many times but with the others "little" rats ...