Author Topic: How to make a Trigger object appear after... ;)  (Read 269 times)

freesid

  • Nameless
  • *
  • Posts: 21
  • Karma: 0
How to make a Trigger object appear after... ;)
« on: Jan 15, 2019; 01:06 PM »
Hello all,
How to make a Trigger object appear after finishing a quest (in a quest level, not by the QuestCaster) or by killing a Boss?
I do not see anything in the Quest / QuestState / Monster tables..
For the boss, i am told that maybe it is possible to spawn with the table Treasure but I confess that I do not understand... What is 3,371,0,0,0,0,0,0,0,0,0 , 0,0,0,0,0,0,0,0,0,0 (treasure index 1,  item1)
The 371 is this the tresor line 371? (weapon) but the 3 then, item quality ???
Thanks in advance
« Last Edit: Jan 15, 2019; 04:13 PM by freesid »

Malachor

  • Developer
  • Great Eye / First
  • ****
  • Posts: 2051
  • Karma: 25
Re: How to make a Trigger object appear after... ;)
« Reply #1 on: Jan 15, 2019; 10:52 PM »
You're close but the first number determines which table the second number is from, so 3 is treasure entry, 2 is item type, from unit types table, 1 is entry from items table. 371 is as you guessed the entry in the table, in this case treasure.
Regarding the first part, what exactly are you trying to spawn? What's a Trigger object? What quest performs closest to what you want to achieve?

freesid

  • Nameless
  • *
  • Posts: 21
  • Karma: 0
Re: How to make a Trigger object appear after... ;)
« Reply #2 on: Jan 16, 2019; 12:26 AM »
Thank you again Malachor;)
Surely my vocabulary is not good about ObjectTrigger which refers to his table in reanimator ...
More simply I would like spawn a portal or a Boss after completing a quest like kill 10 monsters when I kill the last ... In the end I hope it is possible because without access to scripts ... not finding a way, I thought that with a boss would be easier (I dreamed from a checkbox like OnDie or something similar)
I saw in the table Monster in bitmask3 a trigger box ... but I do not see how to do that ...
So I imagine how to circumvent the trick hoping to create a treasure that will shoot a trigger warp, as the end bosses who spawn the truths (wise, brothers, mother etc)
I'm a day dreamer ;)
Thanks again for your patience

Malachor

  • Developer
  • Great Eye / First
  • ****
  • Posts: 2051
  • Karma: 25
Re: How to make a Trigger object appear after... ;)
« Reply #3 on: Jan 17, 2019; 12:48 AM »
Have you tried warpToOpenOnComplete in the quest table? It's just before itemsToRemoveOnAbandon01. I haven't tried it though.
Another idea is to make the kill 10 monsters a questPreReq of a quest to kill the boss. Although I don't know how to get that second quest to activate.

freesid

  • Nameless
  • *
  • Posts: 21
  • Karma: 0
Re: How to make a Trigger object appear after... ;)
« Reply #4 on: Jan 17, 2019; 08:28 AM »
Thank you I will test this in the day ,)
EDIT:
warpToOpenOnComplete authorizes the opening of the portal of the same name in the stations but does not allow to spawn a ...
Thank you for your / your efforts but I desperate ... in fact we can absolutely do nothing except on objects, stats etc ...
Some of the best I have ever done ... Revival, Naga and LostLondon ... Thanks a lot to you
What was missing from me was a bit of challenge in the game by the quests, not by incrementation stats monsters ...
I am even more frustrated because of 2038 who must have the necessary tools to have access to the scripts :(
Thanks you again, Malachor, Kikina etc and prepare for what happens... ;)
« Last Edit: Jan 17, 2019; 08:43 PM by freesid »