Hi there guys, since im relatively new to scripting ill post my problem here:
Im making a crane with the pap on top, and when triggered it lwoers the pap but when i trigger it it doesnt work, probably because i cant move an array of entities with just moveZ this is how it looks:
Code Snippet
Plaintext
SetupFuses() { self SetCursorHint( "HINT_NOICON" ); self setHintString(" Press and Hold &&1 to fix the cables "); self waittill("trigger", who); iPrintLn(" trig"); level.fuseboxes--; if(level.fuseboxes<=0) { pap = getEntArray("pap_lift","targetname"); iPrintLn(" another test"); pap MoveZ(-632,5); } self disable_trigger(); }
The script is longer, ive just placed the trigger function Hope to get answer soon
Last Edit: March 19, 2016, 04:01:30 pm by IperBreach86