OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Manz on 23 Oct 2005, 13:22:28

Title: Script Question....
Post by: Manz on 23 Oct 2005, 13:22:28
I have Ajmrespawn script..
the script makes soldiers around you for 50m distance and they are running to you... the units are normal "East Soldiers"....
but i want to change them to WW2 soldiers and it doesnt work...
i have tried to change them by clicking on them... etc etc..
and it doesnt work..

"what can i do here i need help"
Title: Re:Script Question....
Post by: Terox on 25 Oct 2005, 14:35:08
open the script up, change the classnames of the original units being created to the classnames of the units you want to create

if the script uses

typeof
and refers to a unit already in existence on the map, then you change that unit