Hey garrett, wanna know about scrolls, oy?! :thumbsup: ;D I have to agree,
they can be pretty scary at first sight but even mega-mathjerks like me can
get to know 'em and use the crab every now & then when I have to, so don't
frikkin panic man - it can be learned
See, ya need this text program called NOTEPAD, it should prolly be on your
computer already (I believe it's a default 'windows' program), so just find it.
Then ya type in a few codes, whatever needed (see details below), and then ya just
gotta put it into the SAME folder as the one where your mission hides
Now, if you make a mission in the editor and save it as "demo", then try this :
- hit the "ALT" + the "TAB" buttons to exit out to windows
- Locate your newly made "Demo" mission folder
- Save the NOTEPAD script to this folder
The "Demo" mission folder is located through this path :
C: / OFP / USERS / YOURNAME / MISSIONS <----
It's in here!!! Inside the "demo" folder you'll see a file called "Mission.sqm" and thats yer mission.
Now, the notepad script shoud be a file of the type .sqs and not .sqm
;D so ya better
select *ALL FILES* when saving the script in NotePad and then locate the "Demo" mission folder and save as :
MyScroll.sqs
-------------------------
Right, now wtf shoud we put in the scroll itself
well, howsabout a suicidal scroll?!
;D
Try this :
In the "Demo" mission, create a character and name him BOB in his "name" field.
Save & ALT+TAB out to windows.
Open up NotePad and type in this code :
--------------------------
Bob setDammage 1
exit
--------------------------
Select *ALL FILES* and save as "Kill.sqs" (instead of "MyScroll.sqs")
Right, then save it in the "Demo" folder as stated above.
Now ALT+TAB back to OFP and in the mission ya can create this trigger or
just a waypoint where ya execute the script :thumbsup:
To execute it, let's get Bob himself to do the job :-X So make a WP for bob and put the followin code in the "on activation" field of the WP :
[Bob] exec "Kill.sqs"
Save and hit the "PREVIEW" button & watch bob die!
Hope this helps m8 :cheers:
PS. do yerself a big one and go read the tutorials on, say camera scripting or alike.
it's really a great help - ya can find the TUT's in the Ed. depot I believe