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
Doubt about a puzzle idea (script)
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#17
RE: Doubt about a puzzle idea (script)

You got a point. That's an easy fix though. Add that callback manually, in the same loop.

PHP Code: (Select All)
for(int i = 1; i <= 4; i++) {
    
SetEntityActive("vase_"+i, false);
    
CreateEntityAtArea("vase_"+i, "vase_file.ent", "area_vase_"+i, false);
    
SetEntityCallbackFunc("vase_"+i, "BreakVase");
} 

03-10-2016, 01:25 AM
Find


Messages In This Thread
RE: Doubt about a puzzle idea (script) - by Mudbill - 03-10-2016, 01:25 AM



Users browsing this thread: 1 Guest(s)