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 Let a note starting music [Solved]
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#7
RE: Let a note starting music

You CAN use .snt files in PlayGuiSound, but it's not required.

And as you can see, the parameters are indeed (string &in asEntity, string &in type). (string &in asEntity) belongs to interaction callbacks rather than regular callbacks.

Quote:
PHP Code: (Select All)
void SetEntityCallbackFunc(stringasNamestringasCallback); 

Calls a function when the player interacts with a certain entity.
Callback syntax: void MyFunc(string &in asEntity, string &in type)
Type depends on entity type and includes: “OnPickup”, “Break”, “OnIgnite”, etc

(This post was last modified: 04-24-2014, 10:52 AM by Mudbill.)
04-24-2014, 10:52 AM
Find


Messages In This Thread
RE: Let a note starting music - by DnALANGE - 04-23-2014, 05:59 PM
RE: Let a note starting music - by Mudbill - 04-23-2014, 06:10 PM
RE: Let a note starting music - by ShipinShen - 04-23-2014, 09:42 PM
RE: Let a note starting music - by Mudbill - 04-24-2014, 12:22 AM
RE: Let a note starting music - by ShipinShen - 04-25-2014, 07:59 PM
RE: Let a note starting music - by DnALANGE - 04-24-2014, 10:29 AM
RE: Let a note starting music - by ShipinShen - 04-25-2014, 04:26 PM
RE: Let a note starting music - by Mudbill - 04-24-2014, 10:52 AM
RE: Let a note starting music - by DnALANGE - 04-24-2014, 04:52 PM
RE: Let a note starting music - by Mudbill - 04-24-2014, 05:07 PM
RE: Let a note starting music - by DnALANGE - 04-25-2014, 06:56 PM
RE: Let a note starting music - by Mudbill - 04-25-2014, 08:15 PM
RE: Let a note starting music - by ShipinShen - 04-25-2014, 10:39 PM



Users browsing this thread: 2 Guest(s)