Difference between revisions of "Category talk:Packages"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Einsty
imported>Clearance
(moved some discussion content to "AI Package")
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Is there a way to dynamically specify the target or location of a package with scripting? Right now I have about 8 identical packages made, all of them pointing to a different location, and the script loads up whichever one it needs. I would rather have the script load up the same package every time, using a reference for a target that I can specify within the script. Is this possible? [[User:Sockmonkeh|Sockmonkeh]] 13:44, 7 April 2006 (EDT)
==Transferred Content==
I moved some discussion content together with article content into new page [[Talk:AI Package]]. --[[User:Clearance|Clearance]] 04:09, 28 November 2010 (EST)


:--[[User:Kkuhlmann|Kkuhlmann]] 16:45, 7 April 2006 (EDT): You could do this a couple of ways. Depends on the exact situation, which I'm not sure of from your description. You could have a single package pointing to an XMarker (look under Statics -- we use them everywhere). Name the XMarker move it to whereever you need it (probably by having xmarkers at the 8 locations), then the package will directly the NPC to wherever the xmarker is currently located. Another way would be to use 8 packages with conditions on them (based on script variables or whatever you want to distinguish which one applies), then evp the NPC whenever the variable(s) change so he picks up the correct package.
== AI functions link ==
So how would I add a link to "See Also" Category:AI_Functions? I think I might've added a link to categories before but for the life of me I can't remember how. In any case, there should be a link to related functions for most non-scripting categories.


Thanks, the first solution is perfect. [[User:Sockmonkeh|Sockmonkeh]] 20:58, 7 April 2006 (EDT)
:To create a link to the AI Functions Category use this syntax:
:<pre><nowiki>[[:Category:AI Functions|AI Functions]]</nowiki></pre>
:The : in front also works for images (if you don't want to embed them in the page).


How can I convince an NPC to actualy attack a static object? I tried using Use Item At package, with X marker pointing to that reference as target, but the NPC only engages, and freezes at the begining of the swing, or doesn't attack the object at all.
:I agree about links to related script functions, another item on a very long todo list.
I know this is possible because lot of NPCs in TESIV, such as Agronak Gro Malog do it.
:<br />--[[User:Qazaaq|Qazaaq]] 04:26, 28 September 2009 (EDT)
Can this be fixed?
--[[User:Einsty|Einsty]] 19:58, 22 February 2009 (EST)
 
:Try using an Activator, instead. If you don't give the Activator a name, it'll look just like a static in the gameworld.
:[[User:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">D</span>ragoon <span style="font-family: Oblivion, Daedric Runes; size=2;">W</span>raith]] [[User_talk:DragoonWraith|<span style="font-family: Oblivion, Daedric Runes; size=2;">TALK</span>]] 21:28, 22 February 2009 (EST)
 
Thanks a lot, I replaced the static with activator and it works.--[[User:Einsty|Einsty]] 12:09, 23 February 2009 (EST)

Latest revision as of 04:09, 28 November 2010

Transferred Content[edit source]

I moved some discussion content together with article content into new page Talk:AI Package. --Clearance 04:09, 28 November 2010 (EST)

AI functions link[edit source]

So how would I add a link to "See Also" Category:AI_Functions? I think I might've added a link to categories before but for the life of me I can't remember how. In any case, there should be a link to related functions for most non-scripting categories.

To create a link to the AI Functions Category use this syntax:
[[:Category:AI Functions|AI Functions]]
The : in front also works for images (if you don't want to embed them in the page).
I agree about links to related script functions, another item on a very long todo list.

--Qazaaq 04:26, 28 September 2009 (EDT)