Thiefnuker
Junior Member
Posts: 44
Threads: 7
Joined: Jan 2012
Reputation:
4
|
Forcing Player to use an object
Hello guys,
Just a quick question: Can you force the player to use a health potion with a script?
Thanks for all answer,
Thiefnuker
|
|
01-12-2012, 05:05 PM |
|
Tanshaydar
From Beyond
Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation:
67
|
RE: Forcing Player to use an object
You can set player's health with a script and remove the health item with a script again. You can use screen effects too.
|
|
01-12-2012, 05:08 PM |
|
rallelol
Member
Posts: 53
Threads: 11
Joined: Dec 2011
Reputation:
1
|
RE: Forcing Player to use an object
If you want the same effect you can go
SetPlayerHealth("amount of health");
and
GiveSanityBoostSmall();
and you will have the same effect as a healthpotion.
|
|
01-12-2012, 05:18 PM |
|