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 Calling a Script when button clicked
Fatalist Offline
Member

Posts: 122
Threads: 8
Joined: Dec 2012
Reputation: 8
#1
Calling a Script when button clicked

Hello.
I try to do this script, but it dont work.

void function(string &in asParent, string &in asChild, int alState);
{
if(buttonpressed("mouse1", true)){
///stuff here
}
}

Its possible on hpl2 engine?

07-02-2013, 07:16 AM
Find


Messages In This Thread
Calling a Script when button clicked - by Fatalist - 07-02-2013, 07:16 AM



Users browsing this thread: 1 Guest(s)