- self.classname = strzone(ReadString());
- self.skin = ReadByte();
- self.speed = ReadByte();
- self.model = strzone(ReadString());
-
- trigger_common_read(false);
- self.mins = self.maxs = '0 0 0';
-
- self.solid = SOLID_TRIGGER;
- self.draw = trigger_draw_generic;
- self.trigger_touch = func_ladder_touch;
- self.drawmask = MASK_NORMAL;
- self.move_time = time;
- self.entremove = trigger_remove_generic;
-
- //precache_model(self.mdl);
- EXACTTRIGGER_INIT;
+ this.classname = strzone(ReadString());
+ this.skin = ReadByte();
+ this.speed = ReadCoord();
+
+ trigger_common_read(this, false);
+
+ this.solid = SOLID_TRIGGER;
+ settouch(this, func_ladder_touch);
+ this.drawmask = MASK_NORMAL;
+ this.move_time = time;
+ this.entremove = func_ladder_remove;
+
+ return true;