Lady Rowena on 21/5/2013 at 21:28
Well, I must confess that I didn't understand a damn thing about it. :o
I made a test mission with, of course, a bow and some crystals. I gave the crystals the NVUnusableUnlessQVar script. I won't annoy you with all the trials I made after that. I just don't know what to do.
Is anyone so kind and patient to explain step by step how to set up this thing?
R Soul on 21/5/2013 at 21:37
You put the script on the arrows. And you have to use the archetypes* rather than objects in the mission. When you pick up a crystal, it gives you an arrow then deletes itself.
* You could probably use the Projectile archetype, then you only have to set things up once.
Lady Rowena on 21/5/2013 at 21:57
What about the design note? Where I have to put it, and how to trigger the fact that I get a bow? Sorry, as I said, I didn't understand anything....
R Soul on 21/5/2013 at 22:34
The design note also goes on the Projectile archetype.
NVUnusableUnlessQVar="foundbow"
Create a bow object in your mission. Give it the script TrigWorldFrob, and Engine Features > FrobInfo: WorldAction: Script,Delete.
Give it a CD link to a QuestVarTrap
Quest Var property:
=1:foundbow
Nameless Voice on 22/5/2013 at 00:49
I don't think it's actually documented anywhere, but NVUnusableUnlessQVar will default to using the qvar "HasBow", if it exists. e.g. if you use that qvar name, you don't even need a design note.
You can also save an object with the bow by having it use NVTrapSetQVar with NVTrapSetQVarOn="FrobWorldEnd".
LarryG on 22/5/2013 at 02:37
Quote Posted by Nameless Voice
I don't think it's actually documented anywhere ...
Here (just added): [ATTACH]1676[/ATTACH]
jtr7 on 22/5/2013 at 08:36
:cool:
Is that how Mission X was set up, too?
Nameless Voice on 22/5/2013 at 11:58
I can't remember, but the script might have been written for Mission X.
Lady Rowena on 22/5/2013 at 12:07
It works perfectly on arrows, but it doesn't work on crystals.
I wished the player to find crystals rather than arrows. Is there any way to do it?
Thanks. :)
Nameless Voice on 22/5/2013 at 12:13
Crystals should just be converted into arrows; did you put it on the related arrow archetypes?