![]() |
|
|
||||||
| Operation Flashpoint: Dragon Rising - Mission Editing and Modding Chat Zone A little area for all you mission editors and modders to chat and discuss ideas. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
10-11-2009, 11:52 AM
|
#1 (permalink) |
|
Junior Member
Join Date: Nov 2009
Posts: 21
|
Hey Guys and Gals, first of all i would like to thank everyone for their posts in this forum, i have sucesfully created two complex missions so far, mainly due to the people in this forum that helped others with their problems and that is really awesome!
Now i got a sticky one for all of you, and i personally cant see a way to do this but it would be awesome if it could happen. What i want to happen is: the playable character picks up a pistol from a dead character which causes an objective to be completed. If that cant be done even if they pick up their equipment or their ammo. Its mainly the playable character takes the item/s from the dead character which causes the script to recognise that they first have the item and then seconed causes the objective to be completed. Any ideas or cant it be done? |
|
|
10-11-2009, 11:59 AM
|
#2 (permalink) | |
|
Member
Join Date: Oct 2009
Posts: 85
|
Quote:
![]() But not too sure if can be done..but could be wrong the only things I can think of using is these: Code:
OFP:getUnitCategory() OFP:getLeader() Last edited by Wolf_holic; 10-11-2009 at 12:03 PM. |
|
|
|
10-11-2009, 12:13 PM
|
#3 (permalink) |
|
Senior Member
Join Date: Oct 2009
Posts: 2,141
|
the closest document command to make this possible is :
OFP:getAmmoCount(unitName); even then using this effectively to do what you want would be very tricky
__________________
Island War - Free Roam Download Release Candidate here The ENTIRE Island is at your feet! Explore, conquer, have fun! COOP with up to 3 friends! ---------------------------------------- Island War - Operation White Fang Help your Company capture the White Fang Complex against EXTREME ODDS ---------------------------------------- Templar's Completely Awesome Entity Database Real Muzzle Velocity, Rate Of Fire, Effective Range, Recoil. Better Aimed Position. No zooming on sights! |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|