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 problems
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#3
RE: Script problems

void OnStart()

{

AddUseItemCallback("", "key_tomb_1", "mansion_1", "UsedKeyOnDoor", true);

AddEntityCollideCallback("Player", "event", "event1", true, 1);

SetEntityCallbackFunc("schraube", "OnPickup");

AddEntityCollideCallback("Player", "infa", "startinf", true, 1);

AddEntityCollideCallback("inf", "infent", "entinf", true, 1);

AddUseItemCallback("", "key2", "tuer2", "UsedKeyOnDoor2", true);

AddEntityCollideCallback("stuhl,wandbrechen,brech, true, 1);

AddEntityCollideCallback("player", "vatera", "vaterevent", true, 1);

}

You have that without ""'s. It should be (I think so):

AddEntityCollideCallback("stuhl","wandbrechen","brech", true, 1);

Edit: Ninja'd by beecake Big Grin

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
(This post was last modified: 11-26-2012, 05:51 PM by The chaser.)
11-26-2012, 05:51 PM
Find


Messages In This Thread
Script problems - by justin - 11-26-2012, 03:45 PM
RE: Script problems - by FlawlessHappiness - 11-26-2012, 05:44 PM
RE: Script problems - by The chaser - 11-26-2012, 05:51 PM
RE: Script problems - by FlawlessHappiness - 11-26-2012, 05:52 PM
RE: Script problems - by justin - 11-27-2012, 05:18 PM



Users browsing this thread: 1 Guest(s)