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


Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Any way to loop a AddEntityCollideCallback?
Post: RE: Any way to loop a AddEntityCollideCallback?

(04-05-2012, 10:07 AM)stonecutter Wrote: so i think you added a Counter reset ? set "arm" = 0 after you reach 10, so that you will count again ?Yes i did exactly that by forcing the script to add a ...
theabcs Development Support 6 4,932 04-13-2012, 01:45 AM
    Thread: Any way to loop a AddEntityCollideCallback?
Post: RE: Any way to loop a AddEntityCollideCallback?

(04-04-2012, 10:59 PM)stonecutter Wrote: is this right ? AddLocalVarInt("arm", 1); you set it to 1 but in the next if statement it has to be 10 ? where is the function to increase the variable "ar...
theabcs Development Support 6 4,932 04-05-2012, 04:31 AM
    Thread: Any way to loop a AddEntityCollideCallback?
Post: RE: Any way to loop a AddEntityCollideCallback?

(04-04-2012, 10:35 PM)stonecutter Wrote: check out ! AddEntityCollideCallback(string& asParentName, string& asChildName, string& asFunction, bool abDeleteOnCollide, int alStates); It ...
theabcs Development Support 6 4,932 04-04-2012, 10:43 PM
    Thread: Any way to loop a AddEntityCollideCallback?
Post: Any way to loop a AddEntityCollideCallback?

Here is my script: void scare(string &in asParent, string &in asChild, int alState) { AddLocalVarInt("arm", 1); if(GetLocalVarInt("arm") == 10){ PlaySoundAtEntity("", "react_breath_slow.snt...
theabcs Development Support 6 4,932 04-04-2012, 10:29 PM
    Thread: Question with .lang and global variables
Post: Question with .lang and global variables

Hey, I know a little about scripting but i need some help. I have a global variable set and i would like it to display when the player looks at a custom item in the inventory. Is there any way I can d...
theabcs Development Support 2 2,475 04-01-2012, 12:19 AM