Search found 890 matches
- Wed May 26, 2021 8:22 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
So it is equally understandable why scripters would look at some of these commands and not have a clue what to do with them or, don't know what their full capabilities are. Essentially what we have now is an appendix of commands. Hardly sufficient enough to actually learn how to code LoG. I disagre...
- Wed May 26, 2021 8:11 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
While I seriously doubt it will ever happen, maybe someday somebody will put together a comprehensive text book on the LoG syntax. Because right now it is woefully incomplete. For a while, I thought about doing that for LoG2. I even had a cool name for it... "Grimoire Two" But it's an inc...
- Wed May 26, 2021 7:55 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
Champion set health blew up the editor Champion:setHealth(0) only exists in LoG2. In LoG1, it's champion:setStat("health", 0) edit: Please, don't ignore the documentation. Yes, it could be better, especially the one for LoG2, which is often just a list of function prototypes. But it can a...
- Wed May 26, 2021 7:32 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
Because that's how I learn best. I've read through the documentation. Most of it is Greek to me. If I was able to learn things from reading the documentation, I wouldn't need to come here to ask questions. If this is becoming a problem, just let me know and I will stop. It's not a problem, it's jus...
- Wed May 26, 2021 7:27 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
In ORRR2, Isaac usedmaneus wrote: ↑Wed May 26, 2021 3:12 pm It should be working with:orCode: Select all
champion:setHealth(0)
Code: Select all
champion:damage(100000, physical)
Code: Select all
deadPC:damage(deadPC:getStatMax('health'), 'physical')
- Tue May 25, 2021 2:41 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
Okay, I want to create a tome that, when used, kills the champion. What do I replace this code with? gameEffect = "Gain 5 skillpoints", onUseItem = function(self, champion) playSound("level_up") hudPrint(champion:getName().." gained 5 skillpoints.") champion:addSkillPo...
- Sun May 23, 2021 8:41 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
- Sun May 23, 2021 8:39 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
If that's the case, what is the fx object for? It doesn't really seem to do anything on its own. There are no slots to enter any code or anything. You can place an "fx" object in the Dungeon Editor so you don't have to spawn it later. Then you can use FX:setParticleSystem(name) and other ...
- Sun May 23, 2021 7:24 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
Okay, I tried connecting the plate to this script. function spawnLight() spawn("fx",1,self.x,self.y,1,"effect") effect:setLight(1,0,0,20,7,10,true) effect:translate(0,2,0) end I did not set the plate to activate once. I stepped onto it twice and on the 2nd time the editor did gi...
- Fri May 21, 2021 3:29 pm
- Forum: Modding
- Topic: Wagtunes' Modding Questions
- Replies: 187
- Views: 116924
Re: Wagtunes' Modding Questions
Okay, I'm up to the part where I want to create one of those demon heads that shoot stuff out. I have gone to the script repository and I can't believe that there isn't one script on how to do this. It seems to be such a common part of the game. Can someone point me to a tutorial or video explainin...