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
How to combining items?
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#2
RE: How to combining items?

void OnStart()
{
AddUseItemCallback("", "acid", "empty", "Unfinished", true);
AddUseItemCallback("", "Glycerin", "empty", "Unfinished", true);
}
void Unfinished(string &in asItem, string &in asEntity)
{
SetEntityActive("unfinished", true);
SetEntityActive("empty", false);
AddUseItemCallback("", "Glycerin", "unfinished", "To_complete", true);
AddUseItemCallback("", "acid", "unfinished", "To_complete", true);
}
void To_complete (string &in asItem, string &in asEntity)
{
SetEntityActive("Complete_yay", true);
SetEntityActive("unfinished", false);
}


Feel free to add screen efects so it doesn't look fake.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 12-02-2012, 04:19 PM by The chaser.)
12-02-2012, 04:16 PM
Find


Messages In This Thread
How to combining items? - by giacomo9 - 12-02-2012, 01:20 PM
RE: How to combining items? - by The chaser - 12-02-2012, 04:16 PM
RE: How to combining items? - by giacomo9 - 12-02-2012, 11:00 PM
RE: How to combining items? - by The chaser - 12-03-2012, 09:20 AM
RE: How to combining items? - by NaxEla - 12-03-2012, 05:35 AM
RE: How to combining items? - by giacomo9 - 12-03-2012, 05:08 PM
RE: How to combining items? - by giacomo9 - 12-03-2012, 06:28 PM



Users browsing this thread: 1 Guest(s)