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
Use item in other levels
Cranky Old Man Offline
Posting Freak

Posts: 986
Threads: 20
Joined: Apr 2012
Reputation: 38
#6
RE: Use item in other levels

Try this for level 2:
void OnStart()
{
AddUseItemCallback("", "fiskeolie", "gryde1", "UseItemOnArea", true);
void AddDebugMessage("OnStart has added AddUseItem.", 1);
}

If you enter the level for the second time, this message shouldn't pop up. If you have a level that can be exited and re-entered, use OnEnter() instead.

Noob scripting tutorial: From Noob to Pro

04-23-2012, 10:54 AM
Find


Messages In This Thread
Use item in other levels - by FlawlessHappiness - 04-23-2012, 09:22 AM
RE: Use item in other levels - by Mine Turtle - 04-23-2012, 09:40 AM
RE: Use item in other levels - by i3670 - 04-23-2012, 10:26 AM
RE: Use item in other levels - by Cranky Old Man - 04-23-2012, 10:39 AM
RE: Use item in other levels - by Cranky Old Man - 04-23-2012, 10:54 AM
RE: Use item in other levels - by Mine Turtle - 04-23-2012, 10:57 AM
RE: Use item in other levels - by Cranky Old Man - 04-23-2012, 11:07 AM
RE: Use item in other levels - by Mine Turtle - 04-23-2012, 12:25 PM
RE: Use item in other levels - by Knittel - 04-23-2012, 01:06 PM
RE: Use item in other levels - by Cranky Old Man - 04-24-2012, 07:08 PM
RE: Use item in other levels - by Cranky Old Man - 04-24-2012, 08:12 PM



Users browsing this thread: 1 Guest(s)