Penguin | 2014-01-07 01:52
The Derpy Editing Thing
25
points ]
 (3 votes)
This content is compatible with older edition(s) of the game it was made for, and is not guaranteed to work with the current or development versions.
a weird script that creates an entity that follows you

!IMPORTANT!
this script only works in coop edit
----------

start the script by typing /startfollow and end it with /endfollow.
change the type of entity by typing /spawntype = "" defaults to particles
change the place the entity drops by typing /thedrop = defaults to 0
change each setting of the object by typing /s1 = , and /s2,/s3,/s4 respectivly

make sure to install the script corectly by creating an autoexe.cfg and typing in it exec fun.cfg. (make sure to have fun.cfg in the sauerbraten directory.)

activespawn = 0
spawntype = "particles"
thedrop = 0
s1 = 0;
s2 = 0;
s3 = 0;
s4 = 0;
randval = 1234;

startfollow = [if (! $activespawn 2 ) [activespawn = 1]; confollow; ]

confollow = [
if ( = $activespawn 1 ) [
if ( = $editing 0 ) [edittoggle]
entdrop $thedrop;
activespawn = 2;
edittoggle
randval = ( + 1 ( rnd 10000 ) )
];
sleep 100 [
if ( = $activespawn 2 ) [
if ( = $editing 0 ) [edittoggle]
entdrop $thedrop;
entfind * * * * * $randval;
delent;
newent $spawntype $s1 $s2 $s3 $s4;
entproperty 4 $randval;
edittoggle;
confollow;]]]

endfollow = [edittoggle; activespawn = 0; entdrop 2; entfind * * * * * $randval; delent; edittoggle];
fun.cfg (668 bytes)
25
points
 (3 votes)
User login
Users on Quadropolis
1 guest & no users online
30
points ]
 (9 votes)
Created 2011-06-16 13:56
5 years 40 weeks ago
Created 2017-02-02 00:22
7 weeks 4 days ago
74
points ]
 (9 votes)
Created 2012-07-01 13:12
4 years 38 weeks ago
Flitzpiepe
Created 2017-01-28 22:59
8 weeks 1 day ago
214
points ]
 (22 votes)
Created 2012-10-20 09:56
4 years 22 weeks ago
AtlasSteal
23
points ]
 (3 votes)
Created 2016-12-27 04:35
12 weeks 6 days ago
theradical
Created 2016-12-26 16:25
13 weeks 3 hours ago
theradical
11
points ]
 (2 votes)
Created 2016-12-20 14:15
13 weeks 6 days ago
20
points ]
 (3 votes)
Created 2010-03-04 23:30
7 years 3 weeks ago
KATZ_2142
13
points ]
 (2 votes)
Created 2016-09-06 23:34
28 weeks 5 days ago
50
points ]
 (5 votes)
Created 2010-02-18 22:58
7 years 5 weeks ago
DeathStarPC
Created 2016-10-09 12:48
24 weeks 1 day ago
Created 2016-05-10 23:14
45 weeks 5 days ago
Created 2016-07-28 12:06
34 weeks 4 days ago
7
points ]
 (1 vote)
Created 2016-08-19 06:04
31 weeks 3 days ago
92
points ]
 (10 votes)
Created 2010-06-23 21:33
6 years 39 weeks ago
Fatality
50
points ]
 (6 votes)
Created 2014-05-14 01:01
2 years 45 weeks ago
Pyccna
31
points ]
 (4 votes)
Created 2015-09-22 23:19
1 year 26 weeks ago
Fatality
86
points ]
 (10 votes)
Created 2014-09-03 23:36
2 years 29 weeks ago
19
points ]
 (2 votes)
Created 2016-05-19 23:35
44 weeks 3 days ago
Who's new
  • Flitzpiepe
  • M16
  • theradical
  • torben
  • KATZ_2142