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
Final help with difficult script
DamnNoHtml Offline
Senior Member

Posts: 469
Threads: 34
Joined: Sep 2010
Reputation: 16
#10
RE: Final help with difficult script

(10-13-2010, 07:43 PM)LoneWolf Wrote: This is what i need to do.

I have 4 chemical jars, i need them to be able to be mixed into a pot. I then need to be able to place the pot onto the ground near a barricade. Then just like the game i need it to blow up when hit by a rock. I then need the barricade to disappear so that my other barricade(which the broken version) will only be visible.

Any idea how to do this, or atleast start as this is my last script thread.

What you are asking isn't really that hard to comprehend, it is just putting it into code.

Basically, you just have 4 AddCombineItemCallbacks for each of the jars. Then, you have a use item callback on the ground where you want the finished pot to go. Then, you add an AddEntityCollideCallback between a rock and the entity pot you just made. The callback for that function would probably shake the screen, fade out, set the barricade to inactive, and set the broken version to active.

Creator of Wake, Through the Portal, Insomnia, and Cycles What to do with HPL3....
10-14-2010, 08:33 AM
Find


Messages In This Thread
Final help with difficult script - by LoneWolf - 10-13-2010, 07:43 PM
RE: Final help with difficult script - by Kyle - 10-13-2010, 09:30 PM
RE: Final help with difficult script - by HakePT - 10-13-2010, 10:24 PM
RE: Final help with difficult script - by ide - 10-13-2010, 11:07 PM
RE: Final help with difficult script - by Chilton - 10-14-2010, 02:57 AM
RE: Final help with difficult script - by DamnNoHtml - 10-14-2010, 08:33 AM



Users browsing this thread: 1 Guest(s)