The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unlimited stun baton script
Radiance Offline
Senior Member

Posts: 319
Threads: 34
Joined: Aug 2015
Reputation: 5
#1
Unlimited stun baton script

EDIT:
I'm reading the scripting page https://wiki.frictionalgames.com/hpl3/ga...layer_tool
Can unlimited stun baton be achieved like this?
1)call script that gives stun baton in inventory
2)Player_ToolIsInInventory - checks to see if the player has picked up a tool with this name.
3)Player_EquipTool -> stun baton - the player holds up the tool in his hand if it's in the inventory.
4)if Player_EquipTool -> omnitool, then Player_UnequipTool -> stun baton (for the main gameflow)
5)set Player_RemoveTool to zero because we don't stun baton be removed from inventory


And with that we probably have to use PlayerHands_PlayAnimation
(This post was last modified: 09-24-2015, 05:17 PM by Radiance.)
09-23-2015, 06:20 PM
Find


Messages In This Thread
Unlimited stun baton script - by Radiance - 09-23-2015, 06:20 PM
RE: Unlimited stun baton script - by Abion47 - 10-14-2015, 12:21 PM
RE: Unlimited stun baton script - by Romulator - 10-14-2015, 12:41 PM
RE: Unlimited stun baton script - by TiManGames - 10-14-2015, 03:41 PM
RE: Unlimited stun baton script - by Radiance - 10-14-2015, 04:25 PM
RE: Unlimited stun baton script - by Abion47 - 10-18-2015, 09:42 AM



Users browsing this thread: 1 Guest(s)