Alef/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Erentar moved page alef's Sandbox to User:Alef/Sandbox: Bot: Moved page)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Does this go to 'Recent changes' ?
Try [[setVehicleInit]] in "killed" EH.<br>
Ok, it was a new page. This too?
[[addEventHandler]] "init" on [[createVehicle]]?<br>
All right! I have to check minor edit for personal sandbox
EH runs a {Code}, that means, sync.
what if run sync {Code} in killed EH?
<pre>
scriptsPath = "scripts\";
startupScript = "";
cameraScript = "";
playerKilledScript = "onPlayerKilled.sqs";
playerRespawnScript = "onPlayerRespawn.sqs";
playerRespawnOtherUnitScript = "onPlayerRespawnOtherUnit.sqs";
playerRespawnSeagullScript = "onPlayerRespawnAsSeagull.sqs";
playerResurrectScript = "onPlayerResurrect.sqs";
teamSwitchScript = "onTeamSwitch.sqs";


=Your project=
Add a bug/wish with<pre>==fix it!==
*it's broken
:+1 O'Rly? ~~~~</pre>
in order to get:
==fix it!==
*it's broken
:+1 [http://www.google.com/search?q=O%27rly O'Rly?] [[User:Alef|alef]] 11:44, 23 June 2008 (CEST)
=Wishes=
==do something==
Discussion: [[Talk:alef's_Sandbox#do_something]]
*it does something
:+1 I would like too. [[User:Alef|alef]] 11:44, 23 June 2008 (CEST)
:-1 Me not. [[User:Alef|alef]] 11:44, 23 June 2008 (CEST)


==do something else==
class Missions { class Mission0 {
Discussion: [[Talk:alef%27s_Sandbox#do_something_else]]
  template=Mission0.Sara;
*it does something else
  param1=1;
:-1 I don't like it. Better [[alef%27s_Sandbox#do%20something|do domething]]. [[User:Alef|alef]] 11:44, 23 June 2008 (CEST)
  param2=2;
:+1 Wonderful idea! [[User:Alef|alef]] 11:44, 23 June 2008 (CEST)
  cadetMode=0;
};
</pre>


[[Category:Sandbox]]
[[Category:Sandbox]]
=Bugs=
==it doesn't work==
* most of the times
:+1 yeah [[User:Alef|alef]] 11:44, 23 June 2008 (CEST)
<pre>
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
</pre>

Latest revision as of 03:47, 3 December 2018

Try setVehicleInit in "killed" EH.
addEventHandler "init" on createVehicle?
EH runs a {Code}, that means, sync. what if run sync {Code} in killed EH?

scriptsPath = "scripts\";
startupScript = "";
cameraScript = "";
playerKilledScript = "onPlayerKilled.sqs";
playerRespawnScript = "onPlayerRespawn.sqs";
playerRespawnOtherUnitScript = "onPlayerRespawnOtherUnit.sqs";
playerRespawnSeagullScript = "onPlayerRespawnAsSeagull.sqs";
playerResurrectScript = "onPlayerResurrect.sqs";
teamSwitchScript = "onTeamSwitch.sqs";


class Missions { class Mission0 {
  template=Mission0.Sara;
  param1=1;
  param2=2;
  cadetMode=0;
};