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 AddCombineCallback
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#2
RE: AddCombineCallback

(04-11-2012, 07:27 PM)jessehmusic Wrote: Hey im trying to make some chimicals or how it spells but dont know how to combine the items :S ? want an empty and then and glad ,when you combine those the will be and green chimcal any clue?
Just clarifying: You want an empty glass bottle, to be able to combine with a poisonous gland, creating a glass bottle with green liquid in it?
You do the AddCombineCallback in the OnStart function, and in the function that you call with it, you remove both the empy glass bottle and the gland, and then give the player the green glass bottle. You can learn a lot by studying and copying from the original code.



Noob scripting tutorial: From Noob to Pro

04-11-2012, 07:44 PM
Find


Messages In This Thread
AddCombineCallback - by jessehmusic - 04-11-2012, 07:27 PM
RE: AddCombineCallback - by Cranky Old Man - 04-11-2012, 07:44 PM
RE: AddCombineCallback - by jessehmusic - 04-11-2012, 07:49 PM
RE: AddCombineCallback - by Cranky Old Man - 04-11-2012, 07:59 PM
RE: AddCombineCallback - by jessehmusic - 04-11-2012, 09:01 PM
RE: AddCombineCallback - by Cranky Old Man - 04-11-2012, 09:13 PM



Users browsing this thread: 1 Guest(s)