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
Script Help Int and Float Question
Plazmater Offline
Member

Posts: 122
Threads: 24
Joined: Aug 2013
Reputation: 1
#1
Int and Float Question

Ok, so what i want to ask is how should i write these 2 scripts in hps so that they are working.
I need correct form of these scripts.

First, Int:

How or where should i write that number of the door state so that this script works ?

int GetSwingDoorState(string& asName);

I need this , so that when puzzle is completed and door is unlocked , that door will remain little opened after that.



Second, Float:

Same thing here i guess ?

float GetPlayerSanity();
(This post was last modified: 07-19-2014, 11:00 AM by Plazmater.)
07-19-2014, 10:58 AM
Find


Messages In This Thread
Int and Float Question - by Plazmater - 07-19-2014, 10:58 AM
RE: Int and Float Question - by PutraenusAlivius - 07-19-2014, 02:15 PM
RE: Int and Float Question - by Mudbill - 07-19-2014, 02:27 PM
RE: Int and Float Question - by Plazmater - 07-19-2014, 03:36 PM
RE: Int and Float Question - by Mudbill - 07-19-2014, 04:55 PM
RE: Int and Float Question - by Plazmater - 07-19-2014, 05:05 PM



Users browsing this thread: 1 Guest(s)