shmuckdom
Junior Member
Posts: 8
Threads: 5
Joined: Mar 2011
Reputation:
0
|
How to make player not lose sanity
So I have 2 enemies walking up beside the player that don't attack as my first scene but the sanity effect ruins it, I want to make the player not lose sanity but I can't find a script command that's working for me, PLEASE HELP!\
URGENT
-DoM
(This post was last modified: 11-26-2011, 09:54 AM by shmuckdom.)
|
|
11-26-2011, 09:54 AM |
|
flamez3
Posting Freak
Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation:
57
|
RE: How to make player not lose sanity
I dont know but it might have something to do with the model. Open the enemy in model editor and check what the properties of it.
|
|
11-26-2011, 10:02 AM |
|
Acies
Posting Freak
Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation:
73
|
RE: How to make player not lose sanity
void SetSanityDrainDisabled(bool abX);
Enables/Disables sanity drain from darkness, monsters, etc.
I hope it works.
ジ
|
|
11-26-2011, 11:28 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: How to make player not lose sanity
For regular custom stories, you have to constantly set the players sanity using the SetPlayerSanity function.
|
|
11-26-2011, 04:06 PM |
|
GreyFox
Member
Posts: 162
Threads: 23
Joined: Jul 2011
Reputation:
2
|
RE: How to make player not lose sanity
Don't know if this works, but I noticed in the model editor you can set things to NPC's, and I know alexander and Agriop or whatever his name is are both NPC's. so Switch them to NPC's and maybe that'll work? I don't know if they will move since Alexander and Agriop don't move. worth the try, Just save it as "Enemy_name_NPC"
Hope it works
-Grey Fox
Current Project
Forgotten
|
|
11-26-2011, 11:55 PM |
|
Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
RE: How to make player not lose sanity
Enemies need to be saved in Enemy_Grunt type, otherwise they won't act like enemies.
|
|
11-26-2011, 11:59 PM |
|