By the way, do you by chance know how to make Lindworm attack the Party? I wanted to mess around with the monster a bit but it just..awkwardly stands there.Mysterious wrote:Will do mate, ill wreck my brain trying lol. I did figure out how to spawn a monster on the map using lua script.
Creating a boss battle, and Trickster questions!
-
blueapocalyps3
- Posts: 7
- Joined: Sat Oct 18, 2014 12:21 am
Re: Creating a boss battle, and Trickster questions!
- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: Creating a boss battle, and Trickster questions!
This is a very confusing thing but I will figure this out and sense there really isn't any help on how to do things it probably will be hard 
Re: Creating a boss battle, and Trickster questions!
Would also like to know this, since I'm trying to create a boss aswell.
- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: Creating a boss battle, and Trickster questions!
I got some things figured out about accessing bosses and controlling them:(Now i haven't tested all these but I am using a good portion, and am pretty sure there all correct.)
1) Setting name in lua:
2) Setting autoDeactivate in lua:
3) Setting Music in lua:
4) Activating a Boss fight in lua:
5) Deactivating a Boss fight in lua:
Been trying for a while to add an monster to the boss but nothings happening but errors 
1) Setting name in lua:
Code: Select all
boss_fight_entity.bossfight:setName("Boss Name")Code: Select all
boss_fight_entity.bossfight:setAutoDeactivate(BOOL)Code: Select all
boss_fight_entity.bossfight:setMusic("Music")Code: Select all
boss_fight_entity.bossfight:activate()Code: Select all
boss_fight_entity.bossfight:deactivate()- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: Creating a boss battle, and Trickster questions!
I THINK I GOT IT!!!!!!
Ok so in the coding you can say something like:
Here is an example I use in my dungeon!
that works!!!!!!!!!

Ok so in the coding you can say something like:
Code: Select all
boss_fight_1.bossfight:addMonster(MonsterCompenent)Code: Select all
function bossstart()
bossfight1.bossfight:activate()
spawn("zarchton",2,8,14,0,0,"boss1")
bossfight1.bossfight:addMonster(boss1.monster)
boss1.monster:setHealth(300)
boss1.monster:setLevel(2)
end- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: Creating a boss battle, and Trickster questions!
There is one problem with adding the monster to the boss the health is wrong for one it continues forever.
Edit: nvm you have to make sure you set the boss health before you add the monster to the boss battle But the health still shows a little wrong for me, I have the health of the monster set to 200 and it only goes half way up the monster boss battle health indicator.
Edit: nvm you have to make sure you set the boss health before you add the monster to the boss battle But the health still shows a little wrong for me, I have the health of the monster set to 200 and it only goes half way up the monster boss battle health indicator.
Re: Creating a boss battle, and Trickster questions!
So do I connect the LUA to the bossfight entity? Also, doing this, I wont need to spawn the monster as an entity myself, it spawns with the script, correct?SnowyOwl47 wrote:I THINK I GOT IT!!!!!!
Ok so in the coding you can say something like:Here is an example I use in my dungeon!Code: Select all
boss_fight_1.bossfight:addMonster(MonsterCompenent)
that works!!!!!!!!!Code: Select all
function bossstart() bossfight1.bossfight:activate() spawn("zarchton",2,8,14,0,0,"boss1") bossfight1.bossfight:addMonster(boss1.monster) boss1.monster:setHealth(300) boss1.monster:setLevel(2) end
![]()
![]()
![]()
![]()
![]()
![]()
Re: Creating a boss battle, and Trickster questions!
Ofcourse, as we are talking about it, this guy uploaded his bossfight video: https://www.youtube.com/watch?v=dxonfsoRYOY
- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: Creating a boss battle, and Trickster questions!
Thats just what I did, but it will only spawn a zarchton unless you change what gets spawned.Sorez wrote:So do I connect the LUA to the bossfight entity? Also, doing this, I wont need to spawn the monster as an entity myself, it spawns with the script, correct?SnowyOwl47 wrote:I THINK I GOT IT!!!!!!
Ok so in the coding you can say something like:Here is an example I use in my dungeon!Code: Select all
boss_fight_1.bossfight:addMonster(MonsterCompenent)
that works!!!!!!!!!Code: Select all
function bossstart() bossfight1.bossfight:activate() spawn("zarchton",2,8,14,0,0,"boss1") bossfight1.bossfight:addMonster(boss1.monster) boss1.monster:setHealth(300) boss1.monster:setLevel(2) end
![]()
![]()
![]()
![]()
![]()
![]()
- SnowyOwl47
- Posts: 148
- Joined: Fri Sep 12, 2014 10:41 pm
Re: Creating a boss battle, and Trickster questions!
Actually I figured it out before he uploaded the video.Sorez wrote:Ofcourse, as we are talking about it, this guy uploaded his bossfight video: https://www.youtube.com/watch?v=dxonfsoRYOY
Thats not a lie literally I figured this out before he updated his post check the time on when my post was posted and his post on his post saying he updated it.