When do other actors exist?

Post » Mon Jun 30, 2014 1:12 pm

I'm not sure how best to phrase this question, so here goes.

If I wrote a script to make the bearer of an inventory item take damage over time, and then applied this script to a very common world object, what would happen to various npcs?

Presumably the game wouldn't damage and eventually kill random unimportant bandit halfway across the world, right?

User avatar
Maya Maya
 
Posts: 3511
Joined: Wed Jul 05, 2006 7:35 pm

Post » Mon Jun 30, 2014 10:30 pm

As a followup, would each object with the aforementioned script have its own unique set of instance variables?

For example, if I make the script count from 1, increment by 1 each time it was called, and do damage equal to the counter to its bearer, would giving two npc's the item kill them both just as fast (not faster) than if I'd just given one of them the item?

User avatar
Javaun Thompson
 
Posts: 3397
Joined: Fri Sep 21, 2007 10:28 am


Return to V - Skyrim