Quick Questions -- Quick Answers, The Twelfth

Post » Thu May 26, 2011 7:54 pm

thankyou i will give that a try too XD

another question if i may now...

when using the fwe program to create landmasses to import to the cs , how do i control the overall size of the landmass? lets say i want to be sure i get a really big landmass....around about the size of tamriel in the original game...what settings do i need to adjust and by about how much? thankyou XD
User avatar
ANaIs GRelot
 
Posts: 3401
Joined: Tue Dec 12, 2006 6:19 pm

Post » Fri May 27, 2011 5:00 am

Try this : if eval (testexpr (array["INDEX"])) == 0

Works like a charm, thanks!
User avatar
victoria gillis
 
Posts: 3329
Joined: Wed Jan 10, 2007 7:50 pm

Post » Thu May 26, 2011 10:33 pm

Is there a key combination to select all mods to load?
User avatar
Jeff Turner
 
Posts: 3458
Joined: Tue Sep 04, 2007 5:35 pm

Post » Fri May 27, 2011 10:49 am

How do you find out which character you're checking with http://obse.silverlock.org/obse_command_doc.html#IsDigit?
And in string variables, do underscores register as spaces?
User avatar
Beulah Bell
 
Posts: 3372
Joined: Thu Nov 23, 2006 7:08 pm

Post » Fri May 27, 2011 2:50 am

Is it possible to make a script that when an NPC dies it activates a trigger?Or Opens a door?
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm

Post » Fri May 27, 2011 1:25 am

Is it possible to make a script that when an NPC dies it activates a trigger?Or Opens a door?

Did you want to script the NPC or the activator? Either way you can use something along these lines. For a script on the NPC:
if ( getIsDead )	rActivatorRef.activate 1endif

For a script on the activator:
if ( rActorRef.getIsDead )	activateendif

Question: Are there any known issues with calling removeItem on an actor that does not have that item? For instance, will it subtract the item's weight from the Actor's encumbrance?
User avatar
Veronica Flores
 
Posts: 3308
Joined: Mon Sep 11, 2006 5:26 pm

Post » Thu May 26, 2011 7:47 pm

Question: Are there any known issues with calling removeItem on an actor that does not have that item? For instance, will it subtract the item's weight from the Actor's encumbrance?

No problem with that, remove as much non-existent items as you like.
User avatar
Brandi Norton
 
Posts: 3334
Joined: Fri Feb 09, 2007 9:24 pm

Post » Thu May 26, 2011 10:29 pm

Try this : if eval (testexpr (array["INDEX"])) == 0

Works like a charm, thanks!
I wonder, would the correct syntax with ! be this? :unsure:
if eval !(testexpr (array["INDEX"]))

User avatar
GabiiE Liiziiouz
 
Posts: 3360
Joined: Mon Jan 22, 2007 3:20 am

Post » Fri May 27, 2011 1:25 am

Hey there.

I'm getting a CTD whenever i try to set "HasVampireFed" to 1. Anyone know why this is happening or if theres a better way to tell the vampire script to process whatever changes to the vampire stage it has to when a vampire feeds? I don't want to mess with the vampirescript in anyway as by design my own script is supposed to work with both vanilla or virtually any vampire mod as a simple addon.

Thanks.
User avatar
Andres Lechuga
 
Posts: 3406
Joined: Sun Aug 12, 2007 8:47 pm

Post » Fri May 27, 2011 12:15 am

hey..umm...i seem to be losing pieces of my castle wall im tryin to build...

i dont know whats happening. i rez the object (sorry if i dont use proper lingo as i am used to secondlife speak) and usually it behaves fine. but on occassion it shoots off the screen and i never find it...so unless someone knows how to stop that and round up the wayward walls, im gonna behavin some castle pieces in the sky opr underground in this mod...>.>
User avatar
Samantha Mitchell
 
Posts: 3459
Joined: Mon Nov 13, 2006 8:33 pm

Post » Fri May 27, 2011 1:34 am

Thanks Qazaaq.
User avatar
Breanna Van Dijk
 
Posts: 3384
Joined: Mon Mar 12, 2007 2:18 pm

Post » Fri May 27, 2011 2:23 am

Hey there.

I'm getting a CTD whenever i try to set "HasVampireFed" to 1. Anyone know why this is happening or if theres a better way to tell the vampire script to process whatever changes to the vampire stage it has to when a vampire feeds? I don't want to mess with the vampirescript in anyway as by design my own script is supposed to work with both vanilla or virtually any vampire mod as a simple addon.

Thanks.

You cannot 'set' HasVampireFed since it isn't a global variable, it's a function. I don't think there is a way to 'set' the has fed flag for the player.
User avatar
josie treuberg
 
Posts: 3572
Joined: Wed Feb 07, 2007 7:56 am

Post » Fri May 27, 2011 6:44 am

Is there a key combination to select all mods to load?
Nope.
How do you find out which character you're checking with http://obse.silverlock.org/obse_command_doc.html#IsDigit?
And in string variables, do underscores register as spaces?
I don't think underscores register as spaces.

I wonder, would the correct syntax with ! be this? :unsure:
if eval !(testexpr (array["INDEX"]))
Logical Not - Yup.

You cannot 'set' HasVampireFed since it isn't a global variable, it's a function. I don't think there is a way to 'set' the has fed flag for the player.
True. Note that calling the function twice will reset the flag.
User avatar
lillian luna
 
Posts: 3432
Joined: Thu Aug 31, 2006 9:43 pm

Post » Fri May 27, 2011 2:04 am

I have the latest version of the construction set, why can't I preview any of the npcs faces? It just stays blank
User avatar
Russell Davies
 
Posts: 3429
Joined: Wed Nov 07, 2007 5:01 am

Post » Fri May 27, 2011 10:11 am

How do i make people sell spells..
^NOOB
User avatar
Jade Payton
 
Posts: 3417
Joined: Mon Sep 11, 2006 1:01 pm

Post » Fri May 27, 2011 2:13 am

I have the latest version of the construction set, why can't I preview any of the npcs faces? It just stays blank
Is the preview flag (Head | Full) checked ?

How do i make people sell spells..
^NOOB
http://cs.elderscrolls.com/constwiki/index.php/Dynamically_Adding_Spells_to_Merchants ;)
User avatar
Katie Louise Ingram
 
Posts: 3437
Joined: Sat Nov 18, 2006 2:10 am

Post » Fri May 27, 2011 8:53 am

Yeah, it's weird, sometimes it'll load sometimes it won't, I got it to load though, still its annoying to have to restart the construction set 5 times to be able to get an npcs face to load so I can edit it
User avatar
Bee Baby
 
Posts: 3450
Joined: Sun Jun 18, 2006 4:47 am

Post » Thu May 26, 2011 11:01 pm

How do i make people sell spells..
^NOOB


Create your new NPC. Set its class to Merchant. Click on the SpellList tab. Find the spells you want it to sell, then drag them into the spell list. Click the AI button. Check Spells in the Buys / Sells area. In the AI Package List area, create a new package. Set the Package Type to Travel. Check Offers Services.
User avatar
Mélida Brunet
 
Posts: 3440
Joined: Thu Mar 29, 2007 2:45 am

Post » Fri May 27, 2011 7:35 am

Just curious, but why wasn't the TESCS included with Oblivion like it was with Morrowind? Space issues??? (And too cheap to add another [compact] disk....?)
User avatar
Sierra Ritsuka
 
Posts: 3506
Joined: Mon Dec 11, 2006 7:56 am

Post » Fri May 27, 2011 2:41 am

Is there someway to alter the message that appears when approaching a door (in my own mod), from "doorname to cellname" to simply "doorname" ?
User avatar
Kyra
 
Posts: 3365
Joined: Mon Jan 29, 2007 8:24 am

Post » Fri May 27, 2011 6:20 am

Well here's my question: http://www.gamesas.com/bgsforums/index.php?showtopic=1016129

(i made the thread before i saw this thread)

please answer in my thread
User avatar
Dan Endacott
 
Posts: 3419
Joined: Fri Jul 06, 2007 9:12 am

Post » Fri May 27, 2011 8:19 am

once you have managed to steal something without being caught at that exact moment, and the item enters your inventory, or you are on the back of the horse riding it, is there a way at that point to flag that horse or object as yours from then on? (helpin to solve the psychic guard issue here)
User avatar
Britney Lopez
 
Posts: 3469
Joined: Fri Feb 09, 2007 5:22 pm

Post » Fri May 27, 2011 4:41 am

once you have managed to steal something without being caught at that exact moment, and the item enters your inventory, or you are on the back of the horse riding it, is there a way at that point to flag that horse or object as yours from then on? (helpin to solve the psychic guard issue here)


get the Bag of Holding; stolen items kept in it don't show themselves directly in your inventory, and aren't even confiscated if you get sent to jail. plus, it carries alot, no encumberence :)

of course, this won't help with horses...
User avatar
cutiecute
 
Posts: 3432
Joined: Wed Sep 27, 2006 9:51 am

Post » Fri May 27, 2011 12:07 am

I'm starting to work on a smallish house mod as like breather project. I want to make a spell to teleport the player home and then the next time they cast that same (or a second teleport spell if needed) spell they return to where they previously cast the spell to get th house.


I know this will most likely require OBSE so OBSE scripts are fine. But I need a good idea of where to place the script not just "here, *Script*" and then me messing up because I implement it wrong.

It also may be important that this house will be located in Shivering Isles and I want this spell to work even outside Shivering Isles.

Thanks for any help in advance. And If possible please answer via PM.
User avatar
Hella Beast
 
Posts: 3434
Joined: Mon Jul 16, 2007 2:50 am

Post » Fri May 27, 2011 5:49 am

once you have managed to steal something without being caught at that exact moment, and the item enters your inventory, or you are on the back of the horse riding it, is there a way at that point to flag that horse or object as yours from then on? (helpin to solve the psychic guard issue here)
Horse - can be done. You'll need to wait for activation and setOwnership accordingly.
if ( onControlDown 5 )   if ( getCrosshairRef.getCreatureType == 4 )	  getCrosshairRef.setOwnership   endIfendIf
OBSE needed for both cases. As for items, you'll ned to disable the mouse button, detect the mouse click, drop the item under the mouse, setOwnership and add it to your inventory.
I'm starting to work on a smallish house mod as like breather project. I want to make a spell to teleport the player home and then the next time they cast that same (or a second teleport spell if needed) spell they return to where they previously cast the spell to get th house.
http://cs.elderscrolls.com/constwiki/index.php/Teleport_Recall
User avatar
Setal Vara
 
Posts: 3390
Joined: Thu Nov 16, 2006 1:24 pm

PreviousNext

Return to IV - Oblivion