Edited by Darkadin, 26 February 2012 - 08:09 PM.
Section of script
Started by Darkadin, Feb 26 2012 08:09 PM
1 reply to this topic
#1
Posted 26 February 2012 - 08:09 PM
Hello, im trying to make a pretty big game and im kind of making it section by section a lil here move over here and what not, well im finding it hard to merge them all. I remember seeing a post a few years ago something along the lines of calling a section of a script but i cant seem to find it, the reason im looking is because i thought it would be nice and easy if i could merge all my scripts into one, and make each object that uses it call just the section they are needing. Anyone know of how to do this or remember the post?
#2
Posted 26 February 2012 - 08:41 PM
You can:
* Create separate scripts
* Add a switch statement in script to choose part of script to execute.
* Use event_peform_object to launch events that are define in other type of object
* Create separate scripts
* Add a switch statement in script to choose part of script to execute.
* Use event_peform_object to launch events that are define in other type of object
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











