Editing Talk:Simple Companion Tutorial

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 32: Line 32:
== Umm, ok, but what about this? ==
== Umm, ok, but what about this? ==


Instead of making a companion, i'm planning on making a pet, but how do you do that? --[[User:Lordnincompoop|Lordnincompoop]] 06:16, 10 April 2008 (EDT)
Instead of making a companion, i'm planning on making a pet, but how do you do that?


:Reasonable question. I imagine that it's not much different from this, but you use a Creature instead of an NPC.
:Reasonable question. I imagine that it's not much different from this, but you use a Creature instead of an NPC.
Line 39: Line 39:


:My guess would be that if you want to be able to talk to the pet, you create an invisible dummy NPC (using [[SetActorAlpha]] 0), which you position in the middle of the pet (using [[MoveTo]] and [[SetPos]]), and when the player Activates the pet (an OnActivate block in the pet's script), you have the player talk to the NPC. Because the NPC is invisible and in the middle of the pet, the player will look at the pet, so the pet will look like it's talking. Then you just have to modify the dialogue on the NPC to affect the pet.
:My guess would be that if you want to be able to talk to the pet, you create an invisible dummy NPC (using [[SetActorAlpha]] 0), which you position in the middle of the pet (using [[MoveTo]] and [[SetPos]]), and when the player Activates the pet (an OnActivate block in the pet's script), you have the player talk to the NPC. Because the NPC is invisible and in the middle of the pet, the player will look at the pet, so the pet will look like it's talking. Then you just have to modify the dialogue on the NPC to affect the pet.
:Alternatively, you could try using a [[MessageBox]] menu. We have a [[MessageBox Tutorial|tutorial]] for that.


:These are just some ideas, I've never actually tried to make a companion or a pet. If you're looking for more information, you may want to try the [http://www.bethsoft.com/bgsforums/index.php?showforum=24 Forums]. If you find anything, it would be awesome if you reported back here!
:These are just some ideas, I've never actually tried to make a companion or a pet. If you're looking for more information, you may want to try the [http://www.bethsoft.com/bgsforums/index.php?showforum=24 Forums]. If you find anything, it would be awesome if you reported back here!

Please note that all contributions to the Oblivion ConstructionSet Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see CSwiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Template used on this page: