Neverwinter Nights > Script Request
boot script
Elessar Telrunya:
can someone post a plain boot script?
-Lord Elessar
CleTus:
This is simple and should do.. Place OnActivate
--- Code: ---void main()
{
object oItem = GetItemActivated();
if(GetTag(oItem) == "TAG")
{
object oPC = GetItemActivatedTarget();
BootPC(oPC);
}
}
--- End code ---
This way you can copy the if(GetTag(oItem) == "TAG") to add more items if you need.. Just add it under the } under boot, and define the variables again.
Elessar Telrunya:
--- Quote ---This is simple and should do.. Place OnActivate
--- Code: ---void main()
{
object oItem = GetItemActivated();
if(GetTag(oItem) == "TAG")
{
object oPC = GetItemActivatedTarget();
BootPC(oPC);
}
}
--- End code ---
This way you can copy the if(GetTag(oItem) == "TAG") to add more items if you need.. Just add it under the } under boot, and define the variables again.
[snapback]13868[/snapback]
--- End quote ---
i would have requested it for an onactivate script if i wanted one.
i just need a very simple boot script that is activated by another script.
-Lord Elessar
Elessar Telrunya:
can someone give me a way to target something for a script in a conversation?
-Lord Elessar
Tea-cup:
--- Quote ---can someone give me a way to target something for a script in a conversation?
-Lord Elessar
[snapback]13899[/snapback]
--- End quote ---
You mean the speaker, or a person that's the target of a item that makes the conv start? Something like a dm wand?
-Mel
Navigation
[0] Message Index
[#] Next page
Go to full version