OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: duckwilliamson on 30 Jun 2003, 21:10:49

Title: Waypoint Removal
Post by: duckwilliamson on 30 Jun 2003, 21:10:49
I want to have the editor placed waypoints of my map removed if the player is ai ...

I have ai detected at the beginning of the map - so thats no problem, but what i need is some method of removing all the waypoints of the computer players --- in other words I want the comps to stay at base while the humans run out to their waypoints.

I can only think of one way, but it is complex and tedious and i was wondering if anyone had any ideas ...
Title: Re:Waypoint Removal
Post by: Tactician on 30 Jun 2003, 23:48:40
unit LockWP true on all units at init, then unlock for all players when game starts.  Might need to make new first waypoints in base.
Title: Re:Waypoint Removal
Post by: duckwilliamson on 01 Jul 2003, 07:14:46
well really this is all that i need ... but it would still be nice to find something like 'deletewaypoint'

this solves the problem for things where no wp's are needed at all after usage (as in my case)

i still will have a problem if i want the comp to not follow the set wp's but follow another set ... owell i haven't needed this yet so thx anyways ... i guess ill just close this too (if someone figures out another way pls email it to me duckwilliamson@yahoo.com)