Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 403 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Script ... #477496
07/02/19 15:51
07/02/19 15:51
Joined: Jun 2018
Posts: 29
B
bbn1982 Offline OP
Newbie
bbn1982  Offline OP
Newbie
B

Joined: Jun 2018
Posts: 29
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Or the entire script , things go bad when to much text (*--) ++

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

define health,skill1;
define animation, skill2;
define force,skill3;

function walking_robot_ev()
{
if(event_type == event_block)||(event_type == event_entity){my.pan = random(360);wait(1);}
}


action walking_robot
{
my.health = 5;
my.enable_block = on; my.enable_entity = on; my.event = walking_robot_ev;
while(my.health > 0){my.force = 3; ent_move(my.force ,nullvector); my.animation+=3; ent_cycle("walk",my.animation);wait(1);}
}

action player_walk
{
player = me; my.health = 100;
while(my.health > 0){camera.x = my.x; camera.y = my.y; camera.z = my.z; camera.pan = my.pan; wait (1);}
}


function main()
{
level_load("map001.wmb");/*level name , create your own in WED? */
sky_color.red = 0; sky_color.green = 177; sky_color.blue =253;/*sky color*/
video_switch(12,1,1);/* full screen 1920x1080*/
}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/B

Re: Script ... [Re: bbn1982] #477509
07/03/19 13:26
07/03/19 13:26
Joined: Jun 2018
Posts: 29
B
bbn1982 Offline OP
Newbie
bbn1982  Offline OP
Newbie
B

Joined: Jun 2018
Posts: 29
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Something!

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Yeah the filname (the document which the text are in) must be WDL (filename.wdl) for this (my) scripts , to work , i noticed , it isn't possible using WDL in FREE-EDITION , i've also noticed .. i use EXTRA-EDITION...


/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

/B


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1