OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Evan Scown on 11 Jun 2006, 22:25:00
-
Is it possible to turn a unit against his group using a tigger?
-
Yes.
If the unit, call him Bob, is currently in a West group, have an East unit somewhere remote on the map, that's higher ranking than Bob'.
Put in the East units init field: traitorgrp = group this
Then have in the trigger's 'on activation' field: Bob join traitorgrp
See what happens. :)
-
Yes.....Thanks
-
You can also use addRating command. When you add enough negative rating for him, other team members will start shooting him:-
Bob addRating -1000