Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help AddCombineCallback
Author Message
jessehmusic Offline
Senior Member

Posts: 423
Joined: Dec 2011
Reputation: 8
Post: #5
RE: AddCombineCallback

(04-11-2012 07:59 PM)Cranky Old Man Wrote:  
(04-11-2012 07:49 PM)jessehmusic Wrote:  
(04-11-2012 07:44 PM)Cranky Old Man Wrote:  
(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 Confused ? 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.
as i said before i cant understand the orginal script Confused that FG did they are so huge and wierd in my ayes

what is gonna be in the Func then ?
Here is an online tutorial on how to program scripts in Amnesia:
https://www.youtube.com/watch?v=hrkpC5N_...plpp_video
Have seen alrdy ^_^

http://www.moddb.com/mods/jessehmusic - Hospital of horror , WIP
04-11-2012 09:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


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



User(s) browsing this thread: 1 Guest(s)