Author Topic: [Tutorial] Pascal in Stealth [UPDATED 28.06.2014]  (Read 14438 times)

0 Members and 1 Guest are viewing this topic.

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
[Tutorial] Pascal in Stealth [UPDATED 28.06.2014]
« on: June 23, 2014, 11:14:40 PM »
0
I guess many people may think about learning scripting in pascal but since there are less samples out how to write scripts and what can stealth actual handle.So i want to start a daily small Tutorial.

If you are good in english grammar (since iam not as non native) write me your corrections via PM and i will correct those parts and add you as Editor into the Credits.

I will lock this topic and make a side thread for actual Questions.

Table of Content :
« Last Edit: December 29, 2015, 02:15:39 PM by Crome969 »

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #1 on: June 24, 2014, 12:31:23 AM »
0
« Last Edit: June 24, 2014, 07:18:26 AM by Crome969 »

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #2 on: June 24, 2014, 01:04:42 AM »
0

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #3 on: June 24, 2014, 01:34:03 AM »
0

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #4 on: June 24, 2014, 08:06:56 AM »
0
« Last Edit: June 24, 2014, 10:32:49 AM by Crome969 »

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #5 on: June 24, 2014, 10:30:55 AM »
0

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #6 on: June 24, 2014, 10:47:46 AM »
0

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #7 on: June 24, 2014, 12:05:01 PM »
0
« Last Edit: June 24, 2014, 09:17:03 PM by Crome969 »

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #8 on: June 28, 2014, 07:22:36 AM »
0
« Last Edit: June 28, 2014, 07:24:33 AM by Crome969 »

Offline Crome969Topic starter

  • Moderator
  • *
  • *****
  • Posts: 2098
  • Activity:
    0%
  • Reputation Power: 25
  • Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.Crome969 is on the verge of being accepted.
  • Gender: Male
  • UO Enthusiast
  • Respect: +211
  • Referrals: 10
    • View Profile
    • ScriptSDK
Re: [Tutorial] Pascal in Stealth
« Reply #9 on: June 28, 2014, 07:40:42 AM »
0
Comments, Regions and final structure

If you mastered all previous tutorials, this final lesson will be very easy.

In Pascal you have multiple ways in order to sort\comment and structure code.
One of those are regions. Regions are used to mark a specific part of code allowing to show and hide them in order to organize your code.
You may see the spoilers here, regions work similar.A region begins with the keyword {$Region 'Name'} where you replace Name for the title of region and ends with the keyword {Endregion}

You also have multiple ways to comment or outcomment code. The most used is // where you can write comments on the line after the //.

If you want to write multiline comments or outcomment a region of code you can use (* <Comments> *) where <Comments reflect your text\code you dont want to be executed anymore.

Attention : If you outcomment code with regions you must keep sure that the begin and end keyword of regions is outcommented or not being commented. Else you will get issues with your Code.

Thats it, you learned now the very very basics of pascal, able to atleast write a few basic scripts. From now on i will start explaining Stealth related Components.Further Questions can be asked Here.
« Last Edit: June 28, 2014, 02:24:51 PM by Crome969 »

Tags: