Damascus
Senior Member
Posts: 646
Threads: 118
Joined: Mar 2012
Reputation:
29
|
Attach item to enemy?
Is there any way at all to attach an object to enemy? It can be anything really; the enemy can physically carry it, or it can hover around it, or it can drag it along with something. I've been experimenting for a while but I can't seem to get anything to work. AttachProptoProp doesn't seem to work with enemies, and ropes apparently need one static anchor point to work.
|
|
04-15-2012, 06:09 AM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: Attach item to enemy?
I tried doing this to stop lookatcallback causing sanity. I tried many things but nothing worked... sorry =[
|
|
04-15-2012, 06:57 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Attach item to enemy?
Enemies don't have bodies, which are required for attaching props, so, no, you cannot attach props to enemies through scripting.
|
|
04-15-2012, 07:39 AM |
|
Damascus
Senior Member
Posts: 646
Threads: 118
Joined: Mar 2012
Reputation:
29
|
RE: Attach item to enemy?
Damn. Well I wanted an enemy to run off with an item and make it a quest to get it back, and I thought I could pull it off with some inventive scripting, but it doesn't look like I can get the item to travel with the enemy.
Possibly my only other option is to have the enemy patrol a tight area where the item will later be sitting, but that sounds kind of lame.
(This post was last modified: 04-15-2012, 08:00 AM by Damascus.)
|
|
04-15-2012, 07:58 AM |
|
Cranky Old Man
Posting Freak
Posts: 986
Threads: 20
Joined: Apr 2012
Reputation:
38
|
RE: Attach item to enemy?
You can of course do it with modelling, though: Delete the prop the monster takes, and then add it in a model animation. Ropes still attached to other objects still won't work, though.
|
|
04-15-2012, 07:59 AM |
|
DRedshot
Senior Member
Posts: 374
Threads: 23
Joined: Jun 2011
Reputation:
11
|
RE: Attach item to enemy?
Well you could create a scenario where player sees item, monster walks in front of item, item dissappears, monster walks away and the player gets a momento telling him to get it back.
As for attaching objects to the enemy: You cannot attach entities, but you can attach billboards. It wont look great, but the insanity effect of looking at the monster might help improve it.
Remember, due to the insanity effect, the player probably wouldn't notice tiny details like keys in a grunt's hand. It might be better just to script the item disappearing from the table when the grunt is blocking the player view.
(This post was last modified: 04-15-2012, 12:23 PM by DRedshot.)
|
|
04-15-2012, 12:13 PM |
|
|