//This is just a debugging test for model properties
#scope client

{  client_activate //<origin> <model_idx> <body> <skin>

	setvard FX_ORG PARAM1
	setvard MODEL_IDX PARAM2
	setvard MODEL_BODY_OFS PARAM3
	setvard MODEL_SKIN PARAM4

	callevent create_model MODEL_IDX

	callevent 20.0 end_fx
}

{ end_fx
	callevent 1.0 remove_me
}

{ remove_me
	removescript
}

{  create_model

	cleffect tempent model $getcl(MODEL_IDX,model) FX_ORG setup_model
}

{  setup_model

	cleffect tempent set_current_prop death_delay 	20.0
	cleffect tempent set_current_prop angles 	$getcl(MODEL_IDX,angles)
	cleffect tempent set_current_prop gravity 	0
	cleffect tempent set_current_prop rendermode 	alpha
	cleffect tempent set_current_prop renderamt 	90
	cleffect tempent set_current_prop collide 	none
	cleffect tempent set_current_prop body MODEL_BODY_OFS
	cleffect tempent set_current_prop skin MODEL_SKIN
	cleffect tempent set_current_prop sequence $getcl(MODEL_IDX,sequence)
	cleffect tempent set_current_prop frame $getcl(MODEL_IDX,frame)
}
