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 Several Script Questions
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#6
RE: Several Script Questions

(07-23-2012, 10:42 PM)Apjjm Wrote: Sadly, yes. You could have a timer trigging quickly (every 1/60th of a second) which checks for sanity and health damage of the amount the "H" key deals - you can then just restore the health and sanity and fire whatever event you wanted to fire (It is unlikely that some combination of events deals both health and sanity damage similar to the H key could occur). Hacks like this really depend on what you are trying to achieve though.
I don't think that would really work out, as the effects of sanity, and health damage caused by H are very visually noticeable, which would be very weird in almost all cases.

I think I might actually be better off with the back up plan I came up with: which is double-clicking F.

EDIT: This also brings up another question that's been bugging me ever since I started scripting. Is there any more efficient way/function BESIDES super fast timer checks that can constantly be checking for occurrences that can change in the map at any given time?
(This post was last modified: 07-23-2012, 10:50 PM by Kreekakon.)
07-23-2012, 10:48 PM
Find


Messages In This Thread
Several Script Questions - by Kreekakon - 07-23-2012, 07:30 PM
RE: Several Script Questions - by JMFStorm - 07-23-2012, 07:54 PM
RE: Several Script Questions - by Apjjm - 07-23-2012, 10:27 PM
RE: Several Script Questions - by Kreekakon - 07-23-2012, 10:32 PM
RE: Several Script Questions - by Apjjm - 07-23-2012, 10:42 PM
RE: Several Script Questions - by Kreekakon - 07-23-2012, 10:48 PM
RE: Several Script Questions - by Your Computer - 07-24-2012, 01:41 AM



Users browsing this thread: 1 Guest(s)