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
I can't get my script to work D:
Wrathborn771 Offline
Junior Member

Posts: 45
Threads: 10
Joined: Jun 2012
Reputation: 0
#13
RE: I can't get my script to work D:

(06-30-2012, 04:51 PM)FastHunteR Wrote: SetEntityCallbackFunc("note", "OnPickup");
void OnPickup(string &in asEntity, string &in type)
{
if(asEntity == "note")
{
}
}
Needed when you want more than 1 callbacks for OnPickup, which you will most likely have later.
Didn't work when I tried it tho. Can you try to create the final complete script that I need for the story?
I want a monster to spawn when picking up a note and kills the player, and the credits to pop up when dying.
The name of the note should be "Thanks", the name of the monster should be "bro_1".
Thanks
-Wrathborn
06-30-2012, 11:57 PM
Find


Messages In This Thread
RE: I can't get my script to work D: - by Datguy5 - 06-28-2012, 10:36 PM
RE: I can't get my script to work D: - by Datguy5 - 06-29-2012, 12:01 AM
RE: I can't get my script to work D: - by Datguy5 - 06-30-2012, 03:39 PM
RE: I can't get my script to work D: - by EXAWOLT - 06-30-2012, 03:48 PM
RE: I can't get my script to work D: - by EXAWOLT - 06-30-2012, 04:49 PM
RE: I can't get my script to work D: - by Cruzore - 06-30-2012, 04:51 PM
RE: I can't get my script to work D: - by Wrathborn771 - 06-30-2012, 11:57 PM
RE: I can't get my script to work D: - by Cruzore - 07-01-2012, 12:25 AM
RE: I can't get my script to work D: - by Cruzore - 07-01-2012, 11:59 AM



Users browsing this thread: 1 Guest(s)