OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: pazuzu on 17 Dec 2004, 20:24:23
-
Hi, I want to start a mission with no clipbord or map visible, but I want them to be visible after 1rst obj is done.
How would I do this?
I've seen it in other maps but I cant remember which.
The mission starts out with players in convoy. Players are riding in cargo while AI drive. I just want the players to be in the dark about where they are going & what the mission is & get ambushed unexpectedly.
Thanks.
-
showmap false and showpad false
their all in the comref, check it out before posting, you'll probably get the answer, and faster than you would on the forums
-
Oh ok sorry....
I know the clipboard & map are part of the description.ext so I didn't think it would be a simple command like that. I usually do go there.
Thanks for the help.
-
see, the thing is, there have been a lot of really simple questions asked recently that would be easy to find if the person just looked around, but they are lazy...
sorry if i seemed a bit harsh, that was not my intent
-
No I understand completely.
I read the posts here alot & even the very oldest ones.
I learn alot just from doing that....I just dont recall this topic.
-
Hmm, I tried puting in showmap false & showpad false & it crashes.
It give me message like "f" encountered instead of ";"
I tried using quotes & adding the =
This is supposed to be done in the description.ext right?
Thanks.
-
Ok, I figured out how to make map & notepad disappear.
showMap = 0
showNotepad = 0
But now I cant get them to appear when I want them to using a trigger.
I just tried puting: showMap = 1; showNotepad = 1
In the activation field of a trigger.
I dont get it isn't this how its done?
Thanks.
-
i wouldn't know, i've never used it before
-
i don't think it is possible to turn them back on.......could you perhaps use hidden objectives? That is not too difficult to hide/unhide objectives and you could just write the initial briefing to say "You have been sent to the rear area for some R and R, enjoy the ride, you will get new orders when you arrive...."
Just an idea
-
...now I cant get them to appear when I want them to using a trigger.
showMap true; showPad true; ;)
-
Showmap true & showpad true dont seem to work...I tried showmap=1 also but no cigar.
I think maybe its just not possible to make them reappear.
I usually use hidden objectives but this time I wanted the map & notepad removed just for effect. It shocks people when they dont see a map or brief....leaves them in the dark about what the're in for.
Just a bunch of grunts riding in the back of a covered humvee in the middle of Afghanistan... :)
Thanks for replying.
-
Repeat...
showMap true; showPad true;...both work fine for me, always did, still do (tested).
-
Oh really?
How did you do it?
To remove I changed the showmap & shownotepad to 0 in the description.ext
Is that right?
& did you make them appear again by using a trigger?
Thanks for replying.
-
Description.ext:
showMap = 0;
showNotepad = 0;Trigger, on activation:
showMap true; showPad true; hint "Map and notepad enabled";That hint is optional, indeed, it's just to check if your trigger activates at all.
-
Wow, Thats the way I did it....
I must have typed it wrong or just missed something simple.....
I'll try it again.
With shownotepad=0 & showmap=0 in descrition.ext
& in trigger activation field I'll have showMap true; showPad true; hint "Map and notepad enabled";
Thanks for your help.
-
I just tested it & it works perfectly....
Man I must have been braindead when I tested it before ???
I appreciate your help.