Ediwiki

Wiki officiel de l'éditeur de carte du jeu Slayers Online

Outils pour utilisateurs

Outils du site


moyen:premier

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
moyen:premier [2009/02/21 16:43] araknosmoyen:premier [2010/06/09 13:00] (Version actuelle) – effacée ystorsa
Ligne 1: Ligne 1:
-===== Génération de blobs au hasard ===== 
  
- 
- 
-==== Code avec problèmes ==== 
- 
-__**Evènement 1 :**__ 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=35><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=10 COLS=70 SIZE=300 WRAP=soft readonly> 
-Automatique 
-Serveur[CelestiaTelebloque]!=0 
-%Timer%<150 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
- 
-<TEXTAREA ROWS=10 COLS=70 SIZE=300 WRAP=soft readonly> 
-Variable[13]=%rand(6)%+14 
-Variable[14]=%rand(11)%+8   
-Variable[15]=%rand(6)%+14 
-Variable[16]=%rand(11)%+8 
-Variable[61]=%rand(6)%+14 
-Variable[62]=%rand(11)%+8 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
-Page 2 : 
- 
-Vide 
- 
- 
- 
-</html>---- 
- 
- 
- 
- 
-__**Evènement 2 :**__ 
- 
-<html><style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=35><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=10 COLS=70 SIZE=300 WRAP=soft readonly> 
-Automatique 
-Serveur[CelestiaTelebloque]=1 
-%Timer%=150 
-%CaseY%<=10 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
- 
-<TEXTAREA ROWS=10 COLS=70 SIZE=300 WRAP=soft readonly> 
-%Blob1.CaseNX%=Variable[14] 
-%Blob1.CaseNBY%=Variable[13] 
-%Blob2.CaseNBX%=Variable[61] 
-%Blob2.CaseNBY%=Variable[16] 
-%Blob3CaseNBX%=Variable[15] 
-%Blob3.CaseNBY%=Variable[62] 
-%Timer%=0 
- 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
-<html>Page 2 : Vide</html> 
- 
- 
- 
- 
- 
-==== Algorithme voulu ==== 
-  * Le but de l'évènement est de généré trois blob aléatoirement entre les coordonées 6,11 et 20,19 
-  * **/!\ Important /!\** : La serveur Serveur[CelestiaTelebloque] peu prendre plusieurs valeur ( = 1; =2; etc... ) 
-  * Le Blob 1 doit avoir les coordonées Variable[13],Variable[14] 
-  * Le Blob 2 doit avoir les coordonées Variable[15],Variable[16] 
-  * Le Blob 3 doit avoir les coordonées Variable[61],Variable[62] 
- 
- 
- 
- 
- 
- 
- 
-==== Description des variables ==== 
-  * Les variables 13, 15 et 61 contiennent les positions X des blobs 
-  * Les variables 14, 16 et 62 contiennent les positions Y des blobs 
-  * La Serveur[CelestiaTelebloque]=1 sert juste a prouver que l'évènement est bien activé 
- 
----- 
- 
-Pour m'envoyer votre script, rendez vous [[http://sagest.o-n.fr/Ediwiki/Edi.html|Ici]], merci de remplir tout les chans. 
moyen/premier.1235230991.txt.gz · Dernière modification : 2022/09/25 19:09 (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki