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
Level Editor Help Need help...
jessehmusic Offline
Senior Member

Posts: 423
Threads: 102
Joined: Dec 2011
Reputation: 8
#3
RE: Need help...

(03-05-2012, 05:20 PM)Pyöveli Wrote:
(03-05-2012, 04:20 PM)jessehmusic Wrote: hello,
i need help with lvl edtiors areas...

I want like this you walk throw the area...nothing happend...then you pick the key...and then go throw it then it will happend how do i do that.... :/ any tip
You should use "has item func"

example:

void OnStart()
{

AddEntityCollideCallback("Player","callback","callbackfunc",true, 1);
}

void callbackfunc(string &in asParent,string &in asChild,int alState)
{

if(HasItem("keyname"))//Do stuff//
}
dosnt work ;/



http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
03-05-2012, 05:59 PM
Website Find


Messages In This Thread
Need help... - by jessehmusic - 03-05-2012, 04:20 PM
RE: Need help... - by Red - 03-05-2012, 05:20 PM
RE: Need help... - by jessehmusic - 03-05-2012, 05:59 PM
RE: Need help... - by Red - 03-05-2012, 07:29 PM
RE: Need help... - by Strembitsky - 03-05-2012, 07:35 PM
RE: Need help... - by jessehmusic - 03-05-2012, 09:17 PM
RE: Need help... - by jessehmusic - 03-06-2012, 07:06 AM
RE: Need help... - by Datguy5 - 03-06-2012, 04:53 PM
RE: Need help... - by jessehmusic - 03-06-2012, 05:21 PM
RE: Need help... - by Nevicar - 03-06-2012, 05:28 PM
RE: Need help... - by jessehmusic - 03-07-2012, 09:59 PM
RE: Need help... - by Red - 03-07-2012, 10:25 PM
RE: Need help... - by jessehmusic - 03-08-2012, 09:13 AM
RE: Need help... - by Red - 03-08-2012, 09:30 AM
RE: Need help... - by jessehmusic - 03-09-2012, 07:55 AM
RE: Need help... - by jessehmusic - 03-09-2012, 07:57 PM
RE: Need help... - by Red - 03-11-2012, 03:18 PM
RE: Need help... - by Strembitsky - 03-11-2012, 03:34 PM
RE: Need help... - by jessehmusic - 03-15-2012, 11:20 AM



Users browsing this thread: 1 Guest(s)