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
Can't for the problem with the unexpected token [SOLVED]
Rownbear Offline
Member

Posts: 157
Threads: 13
Joined: Apr 2011
Reputation: 2
#8
RE: Can't for the problem with the unexpected token

(06-18-2012, 04:31 PM)Pinkamena Diane Pie Wrote:
(06-18-2012, 04:28 PM)Rownbear Wrote: SNIP

Thank you very much for this, do you mind telling me what the issue was? For further notice.
AddUseItemCallback
AddEntityCollideCallback
SetEntityPlayerInteractCallback
AddUseItemCallback

these are callbacks, they belong on start, they call or activate the:

Void blabla(string &in asParent, string &in asChild, int alState)
{
///stuff that happens
}

You put callbacks inbetween the voids, and you had something between OnEnter and Onleave, just keep them empty and alone at the bottom unless you want to put out loading screens and preload particles, you'll probably use them more as you get used to scripting.

*I don't exactly know the technical names for all of this but hopefully you got my point*


(This post was last modified: 06-18-2012, 04:41 PM by Rownbear.)
06-18-2012, 04:37 PM
Find


Messages In This Thread
RE: Can't for the problem with the unexpected token - by Rownbear - 06-18-2012, 04:37 PM



Users browsing this thread: 1 Guest(s)