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
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#1
Script help

If I wanted to make a subscript which made a door bang a number of times, at a set speed, Is there a way to 'make' my own function to do this.
I know you can call different scripts to run with:
Func();

but is there a way to store integers or strings in these callbacks? This is what I want to do:

Func(string i = asEntity);

void Func(string &in i)
{
// Do Stuff
}

How can I do this? if there is a way?
Thanks

(This post was last modified: 07-28-2011, 09:36 PM by DRedshot.)
07-28-2011, 09:35 PM
Find


Messages In This Thread
Script help - by DRedshot - 07-28-2011, 09:35 PM
RE: Script help - by palistov - 07-28-2011, 10:07 PM
RE: Script help - by DRedshot - 07-28-2011, 11:52 PM
RE: Script help - by Your Computer - 07-29-2011, 04:13 AM
RE: Script help - by palistov - 07-29-2011, 07:28 AM
RE: Script help - by DRedshot - 07-29-2011, 11:08 AM
RE: Script help - by palistov - 07-29-2011, 01:24 PM



Users browsing this thread: 1 Guest(s)